Hi Rob, thanks! This workaround fixed it for the moment. I just downloaded the most recent release build. I am going to wait for the next one for now instead of using a snapshot build.
-Wolfgang -----Original Message----- From: Rob Vesse <[email protected]> To: users <[email protected]> Sent: Mon, Oct 7, 2013 1:04 pm Subject: Re: SPAM-HIGH: Tdbloader windows 8 RIOT Exception Did you upgrade your ARQ version? There has been a recent thread on the mailing lists about the treatment of .owl files and a JIRA issue - https://issues.apache.org/jira/browse/JENA-548 Part of that was that ARQ 2.11.0 does not automatically recognize .owl files as being RDF/XML and tries to parse them as NTriples which promptly fails. Renaming your files to .rdf will work around the problem Future releases of ARQ will restore the pre 2.11.0 behavior of treating .owl as RDF/XML files Rob On 10/7/13 11:18 AM, "[email protected]" <[email protected]> wrote: >Hi, > >I just moved my dev environment from windows 7/Java6 64 Bit to windows >8/Java7 64 Bit. When I try to load my ontologies into TDB using >tdbloader.bat I get the following exception. The exact same files used to >work in my Win7 environment. Any ideas what might cause this? > >(One ontology is the NCI thesaurus, another is my own ontology. Both >loaded fine before) > > > > > 11:51:45 INFO loader :: -- Start triples data phase >11:51:45 INFO loader :: ** Load empty triples table >11:51:45 INFO loader :: -- Start quads data phase >11:51:45 INFO loader :: ** Load empty quads table >11:51:45 INFO loader :: Load: ..\..\Ontology\Thesaurus.owl >-- 2013/10/07 11:51:45 CEST >11:51:45 ERROR riot :: [line: 5, col: 1 ] Broken IRI >(newline): !DOCTYPE rdf:RDF [ >org.apache.jena.riot.RiotException: [line: 5, col: 1 ] Broken IRI >(newline): !DOCTYPE rdf:RDF [ > at >org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.fatal(Erro >rHandlerFactory.java:136) > at >org.apache.jena.riot.lang.LangEngine.raiseException(LangEngine.java:163) > at >org.apache.jena.riot.lang.LangEngine.nextToken(LangEngine.java:106) > at >org.apache.jena.riot.lang.LangNTriples.parseOne(LangNTriples.java:63) > at >org.apache.jena.riot.lang.LangNTriples.runParser(LangNTriples.java:54) > at org.apache.jena.riot.lang.LangBase.parse(LangBase.java:42) > at org.apache.jena.riot.RiotReader.parse(RiotReader.java:116) > at org.apache.jena.riot.RiotReader.parse(RiotReader.java:93) > at org.apache.jena.riot.RiotReader.parse(RiotReader.java:66) > at >com.hp.hpl.jena.tdb.store.bulkloader.BulkLoader.loadQuads$(BulkLoader.java >:159) > at >com.hp.hpl.jena.tdb.store.bulkloader.BulkLoader.loadDataset(BulkLoader.jav >a:121) > at com.hp.hpl.jena.tdb.TDBLoader.loadDataset$(TDBLoader.java:282) > at com.hp.hpl.jena.tdb.TDBLoader.loadDataset(TDBLoader.java:195) > at com.hp.hpl.jena.tdb.TDBLoader.load(TDBLoader.java:76) > at tdb.tdbloader.loadQuads(tdbloader.java:164) > at tdb.tdbloader.exec(tdbloader.java:123) > at arq.cmdline.CmdMain.mainMethod(CmdMain.java:101) > at arq.cmdline.CmdMain.mainRun(CmdMain.java:63) > at arq.cmdline.CmdMain.mainRun(CmdMain.java:50) > at tdb.tdbloader.main(tdbloader.java:54) > >Thanks for any help! >Wolfgang > > >
