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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -