JDK-8265248 : Implementation Specific Properties: change prefix, plus add existing properties
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-15
  • Updated: 2025-01-29
  • Resolved: 2021-05-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b25Fixed
Related Reports
CSR :  
Relates :  
Description
Through a series of changes, we’ve add documentation for the Implementation Specific Features and Properties to the module summary. This will be the last change to complete the project. This change will include the followings:

1. Naming Convention
    Specifically, the prefix shall be standardized to jdk.xml instead of http://www.oracle.com/xml/jaxp/properties/ or http://www.oracle.com/xml/jaxp/features/. The later was introduced through the Jaxp Limits, that used the fully-qualified URL style prefix, a style that had been used in XML standards and Apache implementations. The style though was not ideal. For one, it's very long, for another, it has a dependency on domain names. For that reason, the later properties used a prefix jdk.xml which is also the same as the System properties. 

2. Other existing properties
    Add other existing properties to the Features and Properties table. 

2.1 Features and Properties that used jdk.xml as prefix
    Property cdataChunkSize: 
            Property name: jdk.xml.cdataChunkSize
            System Property: jdk.xml.cdataChunkSize
            Processor: SAX, StAX

    Feature resetSymbolTable: 
            Property name: jdk.xml.resetSymbolTable
            System Property: jdk.xml.resetSymbolTable
            Processor: SAX spf.setFeature

    Feature overrideDefaultParser: 
            Property name: jdk.xml.overrideDefaultParser
            System Property: jdk.xml.overrideDefaultParser
            Processor: Transform, Validation, XPath
            Method: setFeature

    Property extensionClassLoader: 
            Name: jdk.xml.transform.extensionClassLoader
            System Property: no
            Processor: Transform
            Method: factory.setAttribute

2.2 Features that had a URL-style prefix for properties rather than features

    Feature enableExtensionFunctions: 
            Name: http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions
            System property: jdk.xml.enableExtensionFunctions
            Processor: Transform, XPath
            Method: factory.setFeature 


Comments
Changeset: 8c4719a5 Author: Joe Wang <joehw@openjdk.org> Date: 2021-05-26 19:34:06 +0000 URL: https://git.openjdk.java.net/jdk/commit/8c4719a58834dddcea39d69b199abf1aabf780e2
26-05-2021