diff --git a/src/java.xml/share/classes/module-info.java b/src/java.xml/share/classes/module-info.java index e4f889dddd0..52ce1272631 100644 --- a/src/java.xml/share/classes/module-info.java +++ b/src/java.xml/share/classes/module-info.java @@ -94,7 +94,7 @@ * (hereafter referred to as secure processing) is required for XML processors * including DOM, SAX, Schema Validation, XSLT, and XPath. Any properties flagged * as {@code "security: yes"} (hereafter referred to as security properties) in - * table Features And Properties + * table Implementation Specific Properties * are enforced when secure processing is set to true. Such enforcement includes * setting security features to true and limits to the defined values shown in * the table. The property values will not be affected, however, when setting @@ -191,10 +191,15 @@ * * *
+ * The table below lists the Implementation Specific Properties currently supported + * by the JDK. More properties may be added in the future if necessary. * - *
Name [1] | @@ -216,6 +221,82 @@ *|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
entityExpansionLimit | + *Limits the number of entity expansions. + * | + *yes | + *yes | + *Integer | + *+ * A positive integer. A value less than or equal to 0 indicates no limit. + * If the value is not an integer, a NumberFormatException is thrown. + * | + *64000 | + *Yes | + *
+ * DOM + * SAX + * StAX + * Validation + * Transform + * |
+ * 8 | + *||||||||||||
elementAttributeLimit | + *Limits the number of attributes an element can have. + * | + *10000 | + *|||||||||||||||||||
maxOccurLimit | + *Limits the number of content model nodes that may be created when building + * a grammar for a W3C XML Schema that contains maxOccurs attributes with values + * other than "unbounded". + * | + *5000 | + *|||||||||||||||||||
totalEntitySizeLimit | + *Limits the total size of all entities that include general and parameter + * entities. The size is calculated as an aggregation of all entities. + * | + *5x10^7 | + *|||||||||||||||||||
maxGeneralEntitySizeLimit | + *Limits the maximum size of any general entities. + * | + *0 | + *|||||||||||||||||||
maxParameterEntitySizeLimit | + *Limits the maximum size of any parameter entities, including the result + * of nesting multiple parameter entities. + * | + *10^6 | + *|||||||||||||||||||
entityReplacementLimit | + *Limits the total number of nodes in all entity references. + * | + *3x10^6 | + *|||||||||||||||||||
maxElementDepth | + *Limits the maximum element depth. + * | + *0 | + *|||||||||||||||||||
maxXMLNameLimit | + *Limits the maximum size of XML names, including element name, attribute + * name and namespace prefix and URI. + * | + *1000 | + *|||||||||||||||||||
isStandalone | *indicates that the serializer should treat the output as a * standalone document. The property can be used to ensure a newline is written @@ -226,8 +307,8 @@ * | yes | *yes | *boolean | - *true/false | - *false | + *true/false | + *false | *No | *DOMLS | *17 | @@ -248,8 +329,8 @@ *yes | *yes | *String | - *yes/no | - *no | + *yes/no | + *no | *No | *XSLTC Serializer | *17 | @@ -269,7 +350,9 @@ * the property value. If the type is boolean, the system property is true only * if it is "true"; If the type is String, the system property is true only if * it is exactly the same string representing the positive value (e.g. "yes" for - * {@code xsltcIsStandalone}); The system property is false otherwise. + * {@code xsltcIsStandalone}); The system property is false otherwise. If the type + * is Integer, the value of the System Property is the String representation of + * the value (e.g. "64000" for {@code entityExpansionLimit}). * *