[Mulgara-general] Help
Paul Gearon
gearon at ieee.org
Wed Jul 30 13:49:36 PDT 2008
On Wed, Jul 30, 2008 at 3:32 PM, Bill OConnor <wtoconnor at gmail.com> wrote:
> Great idea. It looks to be another malformed URI with Hebrew in the rdf:ID.
> What would be a way to handle this? It seems the open directory project is
> a little out of spec with the current RDF.
>
> Caused by: org.mulgara.query.QueryException: java.lang.Error: ARP generated
> a malformed URI
> at org.mulgara.content.rdfxml.Parser.toLocalNode(Parser.java:509)
> at org.mulgara.content.rdfxml.Parser.statement(Parser.java:370)
> at com.hp.hpl.jena.rdf.arp.ARPResource.tripleRes(ARPResource.java:184)
> at com.hp.hpl.jena.rdf.arp.ARPResource.triple(ARPResource.java:169)
> at
> com.hp.hpl.jena.rdf.arp.ARPResource.setPredObject(ARPResource.java:146)
> at com.hp.hpl.jena.rdf.arp.ARPResource.setType(ARPResource.java:141)
> at com.hp.hpl.jena.rdf.arp.RDFParser.typedNode(RDFParser.java:954)
> at com.hp.hpl.jena.rdf.arp.RDFParser.description(RDFParser.java:429)
> at com.hp.hpl.jena.rdf.arp.RDFParser.obj(RDFParser.java:346)
> at com.hp.hpl.jena.rdf.arp.RDFParser.rdf(RDFParser.java:326)
> at com.hp.hpl.jena.rdf.arp.RDFParser.root(RDFParser.java:1371)
> at com.hp.hpl.jena.rdf.arp.RDFParser.embeddedFile(RDFParser.java:1364)
> at com.hp.hpl.jena.rdf.arp.ARPFilter.parse(ARPFilter.java:312)
> at com.hp.hpl.jena.rdf.arp.ARP.load(ARP.java:291)
> at org.mulgara.content.rdfxml.Parser.run(Parser.java:308)
> Caused by: org.mulgara.query.QueryException: java.net.URISyntaxException:
> Illegal character in fragment at index 79:
> file:/home/wto/Projects/dmoz/fixedcontent.rdf#Top__Adult__World__Hebrew__גלריות תמונות וסרטים
> at java.net.URI$Parser.fail(URI.java:2825)
> at java.net.URI$Parser.checkChars(URI.java:2998)
> at java.net.URI$Parser.parse(URI.java:3044)
> at java.net.URI.<init>(URI.java:595)
> at org.mulgara.content.rdfxml.Parser.toLocalNode(Parser.java:506)
> ... 14 more
Hmmm, my first reaction is that this was malformed and should be
re-generated, but I can never remember what makes a valid URI. I
*believe* that's malformed, in which case you'll have to re-generate
the URI using escape sequences.
Andy will know this stuff better than I do. Is he watching the list?
Paul
More information about the Mulgara-general
mailing list