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/04/13 05:12:12 UTC

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

Hervé Boutemy created NET-570:
---------------------------------

             Summary: 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)