Skip to content Skip to sidebar Skip to footer

Jython And The Sax Parser: No More Than 64000 Entities Allowed?

I've done a simple test of the xml.sax parser in Jython on a large XML file (800 MB) and encountered the following error: Traceback (most recent call last): File 'src/project/xml

Solution 1:

Try setting the entityExpansionLimit property to a higher value than 64000. See http://download.oracle.com/javase/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html#JAXP_security.


Post a Comment for "Jython And The Sax Parser: No More Than 64000 Entities Allowed?"