[
https://issues.apache.org/jira/browse/NET-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571783#comment-14571783
]
Sebb commented on NET-570:
--------------------------
URL: http://svn.apache.org/r1683441
Log:
NET-570 - empty description tag causes RDF parser fail
Modified:
commons/proper/net/trunk/doap_net.rdf
> 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)