You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/06/04 07:15:38 UTC

[jira] [Comment Edited] (NET-570) rdf content cause parsing failure

    [ https://issues.apache.org/jira/browse/NET-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572166#comment-14572166 ] 

Hervé Boutemy edited comment on NET-570 at 6/4/15 5:14 AM:
-----------------------------------------------------------

I improved the parsing script to not stupidly fail on such case, so the failure was not there

but with the new description, the result is better: https://projects-new.apache.org/project.html?commons-net

thank you


was (Author: hboutemy):
yes, I improved the parsing script to not stupidly fail on such case

bq. but since adding a description makes sense, please do it

:)

> rdf content cause parsing failure
> ---------------------------------
>
>                 Key: NET-570
>                 URL: https://issues.apache.org/jira/browse/NET-570
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: Docs
>            Reporter: Hervé Boutemy
>
> while working on http://projects-new.apache.org/ I found that parserdf.py is failing for commons-net rdf
> Error when reading commons-commons-net's doap file http://svn.apache.org/repos/asf/commons/proper/net/trunk/doap_net.rdf:
> ------------------------------------------------------------
> Traceback (most recent call last):
>   File "rdfparse.py", line 73, in <module>
>     for e in pjson[k]:
> TypeError: 'NoneType' object is not iterable
> looking at the rdf, I suppose this is due to the empty description:
> <description xml:lang="en"/>
> (not sure, didn't try to inject a modified content)
> but since adding a description makes sense, please do it and I'll see if the rdf parser is more happy :)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)