Hello (and Happy New Year!)

I'm on Linux (Fedora) using BaseX 12.1 and OpenJDK Runtime Environment 
(Red_Hat-25.0.1.0.8-3) (build 25.0.1+8)

I've got some data, which I want BaseX to load by the individual document using 
the doc() function.

On one of these documents I get a parsing failure that reports JAXP00010001; if 
I look that up, I find 
https://www.oracle.com/java/technologies/javase/24-relnote-issues.html which 
says this limit changed (from a traditional larger number) to 2500, so now the 
error text is
`JAXP00010001: The parser has encountered more than "2500" entity expansions in 
this document; this is the limit imposed by the JDK`

It's a large file and I can't do anything about that part, nor can I do 
anything about the number of entity references these files happen to have when 
I get them. (In this particular case, a bit more than five thousand.) The 
Oracle page lists a bunch of options for how to set a different entity 
expansion limit.

In context of BaseX, what's the right way to adjust the entity expansion limit 
(in my case, generally the BaseX GUI) so these files will parse?

Thanks!
Graydon

Reply via email to