Re: In using RIOT I encounter the "64000" entity expansions error.

2023-10-13 Thread Andy Seaborne
On 12/10/2023 20:20, Steve Vestal wrote: I couldn't resist trying https://purl.obolibrary.org/obo/foodon.owl as a stress test for what we are doing.  We're on Jena 4.5.0 and I'm getting Not in RDF/XML format due to exception org.apache.jena.riot.RiotException [line: 110334, col: 72] Invalid

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-10-12 Thread Steve Vestal
I couldn't resist trying https://purl.obolibrary.org/obo/foodon.owl as a stress test for what we are doing.  We're on Jena 4.5.0 and I'm getting Not in RDF/XML format due to exception org.apache.jena.riot.RiotException [line: 110334, col: 72] Invalid byte 2 of 2-byte UTF-8 sequence. Could

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-10-12 Thread Andy Seaborne
Thanks. It parses OK. On Thu, 12 Oct 2023, 19:36 Jim Balhoff, wrote: > > On Oct 6, 2023, at 3:46 AM, Andy Seaborne wrote: > > > > > > On 28/06/2023 09:26, Damion Dooley wrote: > >> I’m using RIOT to parse a large food ontology in owl rdf/xml format. > > > > Damion, > > > > Is that data

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-10-12 Thread Jim Balhoff
> On Oct 6, 2023, at 3:46 AM, Andy Seaborne wrote: > > > On 28/06/2023 09:26, Damion Dooley wrote: >> I’m using RIOT to parse a large food ontology in owl rdf/xml format. > > Damion, > > Is that data publicly available? > > There's a new RDF/XML parser for Jena in the pipeline and I'd like

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-10-06 Thread Andy Seaborne
On 28/06/2023 09:26, Damion Dooley wrote: I’m using RIOT to parse a large food ontology in owl rdf/xml format. Damion, Is that data publicly available? There's a new RDF/XML parser for Jena in the pipeline and I'd like to try it out on real data. Andy

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-06-28 Thread Damion Dooley
Thanks, that worked perfectly! Very helpful! Cheers, Damion On 2023-06-28, 1:57 AM, "Lorenz Buehmann" wrote: it is not a Jena specific parameter, thus, you have to set if via standard Java JVM arguments: riot does make use of the system var JVM_ARGS, so you can use that

Re: In using RIOT I encounter the "64000" entity expansions error.

2023-06-28 Thread Lorenz Buehmann
it is not a Jena specific parameter, thus, you have to set if via standard Java JVM arguments: riot does make use of the system var JVM_ARGS, so you can use that export JVM_ARGS="$JVM_ARGS  -DentityExpansionLimit=25" or just prepend your call JVM_ARGS="$JVM_ARGS 

In using RIOT I encounter the "64000" entity expansions error.

2023-06-28 Thread Damion Dooley
I’m using RIOT to parse a large food ontology in owl rdf/xml format. Its giving me an error: “JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.” How can I increase the entityExpansionsLimit or whatever its