java - JDK Limit on Entity Expansions -
java - JDK Limit on Entity Expansions -
i got error message during transform of big xml document:
jaxp00010001: parser has encountered more "64000" entity expansions in document; limit imposed jdk.
googled , learned limits. learned found how implement limits other 64k default: in may case, needed create ${java.home}/lib/jaxp.properties
file1 entry:
jdk.xml.entityexpansionlimit=256000
that worked, , described here others encounter same error.
question: increasing expansion limits signifigantly increment security risk?
i'm guessing limit meant more servers. workstation net surfing.
footnote 1: needed create new jaxp.properties in /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib
java jaxp
Comments
Post a Comment