Yes. It is definitly &'s that it is complaining about. I know this because I have 108,000 in the document I'm parsing and if I set the -DentityExpansionLimit=128000 on my java command line it works just fine, or if I do a find and replace on & with, say, "and" it works okay.
The...
You can do this. The technique is to use the "document" function. Here's a simple example using two xml files called a.xml and b.xml and a stylesheet that combines them called ab.xsl
a.xml's contents
<my_a>
<data q="3" />
<data q="4" />
<data q="5" />
</my_a>
b.xml's contents...
When I run an XML file with a lot of &'s in it (more than 64,000), i get this error:
Parser has reached the entity expansion limit "64,000" set by the Application.
I've read up on this and it seems that everyone's solution is to just set it higher.
The problem is that I need to set it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.