commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (NET-570) rdf content cause parsing failure
Date Thu, 04 Jun 2015 05:16:38 GMT

    [ 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:16 AM:
-----------------------------------------------------------

I improved the parsing script to not stupidly fail on such case, so the failure was not there
any more http://svn.apache.org/r1682577

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

thank you


was (Author: hboutemy):
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

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

Mime
View raw message