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=250000"
or just prepend your call
JVM_ARGS="$JVM_ARGS -DentityExpansionLimit=2500000" riot --set
ttl:entityExpansionLimit=0 --validate ../../foodon.owl
On 28.06.23 10:26, Damion Dooley wrote:
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 called as a
variable ? I was guessing:
riot --set ttl:entityExpansionLimit=0 --validate ../../foodon.owl
but of course that didn’t work.
I’m on a Mac powerbook btw.
Many thanks for the info,
Damion
Damion Dooley, Ontology Development Lead
Centre for Infectious Disease Genomics and One Health
Faculty of Health Sciences, SFU, Canada
Mobile 778-688-0049
--
Lorenz Bühmann
Research Associate/Scientific Developer
Email [email protected]
Institute for Applied Informatics e.V. (InfAI) | Goerdelerring 9 | 04109
Leipzig | Germany