[
https://issues.apache.org/jira/browse/NET-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572166#comment-14572166
]
Hervé Boutemy commented on NET-570:
-----------------------------------
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)