-Djdk.xml.maxGeneralEntitySizeLimit
This option provides limits for Java™ API for XML processing (JAXP). Use this option to limit the maximum size of a general entity.
To protect an application from malformed XML, set this value to the minimum size possible.
- -Djdk.xml.maxGeneralEntitySizeLimit=value
-
Where value is the maximum size that is allowed for a general entity. The default value is 0.
A value of 0 or a negative number sets no limits.
You can also set this limit by adding the following line to your
jaxp.properties file:
jdk.xml.maxGeneralEntitySizeLimit=value
Note: The IBM XML
implementation is deprecated in IBM® SDK, Java Technology Edition, Version 8 and will be replaced by the Oracle XML
implementation in a future release.