Summary
Changes the prefix in the Naming Convention to jdk.xml; Adds documentation for a few existing features and properties to the module summary.
Problem
The documentation for Implementation Specific Features and Properties defined a URL-style prefix, that is, http://www.oracle.com/xml/jaxp/properties/ for properties, and http://www.oracle.com/xml/jaxp/features/ for features. These prefixes are long and also dependent on domain names. A better prefix would have been jdk.xml that was already used for the properties added since JDK 9.
As Implementation Specific Features and Properties are now documented in the module summary, a few existing properties need to be added to complete the project.
Solution
Change the prefix in the Naming Convention from http://www.oracle.com/xml/jaxp/properties/ and http://www.oracle.com/xml/jaxp/features/ to jdk.xml.
Add documentation for a few existing properties to the module summary.
Specification
-
Prefix
In section
Naming Convention, change the prefix fromhttp://www.oracle.com/xml/jaxp/properties/for properties andhttp://www.oracle.com/xml/jaxp/features/for features tojdk.xml.
<p>
-
Add the followings to table
Implementation Specific PropertiescdataChunkSize-- definition copied from the original specification.extensionClassLoader-- definition copied from the original specification.
<p>
-
Add table
Implementation Specific Featureswith the following featuresenableExtensionFunctions-- definition copied from the original specification.overrideDefaultParser-- definition copied from the original specification. To match the style ofenableExtensionFunctionsabove, in theValuecolumn, changeda booleantotrue or falseand started the sentence withTrueinstead of Setting it to true.resetSymbolTable-- definition copied from the original specification. To match the style ofenableExtensionFunctionsabove, in theValuecolumn, changeda booleantotrue or falseand started the sentence withTrueinstead of Setting it to true.
<p>
-
Notes for the tables
Added links to the notes in Features and Properties tables as both tables share the same notes.
<p>
-
DatatypeFactoryLookup MechanismAdded
DatatypeFactoryto the JAXP Lookup Mechanism. See the first row in tableJAXP Factories.
Spec: http://cr.openjdk.java.net/~joehw/jdk17/8265248/spec_01/java.xml/module-summary.html
Attachment: 8265248_spec_01.zip
Update 02: add column How to set the feature to table Processors
Spec: http://cr.openjdk.java.net/~joehw/jdk17/8265248/spec_02/java.xml/module-summary.html
Attachment: 8265248_spec_02.zip
Update 03:
-
Changed the alignment for column
How to set propertiesandHow to set Featuresin tableProcessorsfrom center to left justified; -
Changed the title for the column
Namein tableImplementation Specific PropertiesandImplementation Specific FeaturestoFull Name; Added@systemPropertytag to all butextensionClassLoaderwhich does not have a corresponding System Property, that allows the properties to be added to the search index (try putting one, e.g. 'jdk.xml.entityExpansionLimit`, in the search box. The result shall show, leading to the property). -
Changed the javadoc for DatatypeFactory::newInstance to be exactly the same as other factories, such as DocumentBuilderFactory::newInstance, pointing to the Lookup Mechanism in the module summary.
Spec: http://cr.openjdk.java.net/~joehw/jdk17/8265248/spec_03/java.xml/module-summary.html
Attachment: 8265248_spec_03.zip
Update 04
Added a table Legacy Property Names with a list of legacy property names to indicate that the old names will continue to be supported.
Spec: http://cr.openjdk.java.net/~joehw/jdk17/8265248/spec_04/java.xml/module-summary.html
Attachment: 8265248_spec_04.zip
Update 05
Clarify that the new one takes precedence if both the new and legacy properties are set; Deprecate the legacy properties.
Spec: http://cr.openjdk.java.net/~joehw/jdk17/8265248/spec_05/java.xml/module-summary.html
Attachment: 8265248_spec_05.zip
- csr of
-
JDK-8265248 Implementation Specific Properties: change prefix, plus add existing properties
-
- Resolved
-
- relates to
-
JDK-8249867 XML declaration is not followed by a newline
-
- Closed
-