Details
-
Sub-task
-
Resolution: Delivered
-
P4
-
21
Description
The following changes have been made with regard to the JAXP configuration files:
- Added the `jaxp.properties` file to the JDK at `$JAVA_HOME/conf/jaxp.properties` as the default JAXP configuration file. Property settings in the file reflect the current, built-in defaults for the JDK.
- Added a new System Property, `java.xml.config.file`, for specifying the location of a custom configuration file. If it is set and the named file exists, the property settings contained in the file override those in the default JAXP configuration file. For more details, see the <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/module-summary.html#Conf">Configuration</a> section of the module specification.
- Deprecated the `stax.properties` file that was defined in the StAX API and used by the StAX factories. It had been made redundant after StAX's integration into JAXP since the function has been fully covered by the JAXP configuration file. It is recommended that applications migrate to the JAXP configuration file as the `stax.properties` file is deprecated and may no longer be supported in the future.
- Added the `jaxp.properties` file to the JDK at `$JAVA_HOME/conf/jaxp.properties` as the default JAXP configuration file. Property settings in the file reflect the current, built-in defaults for the JDK.
- Added a new System Property, `java.xml.config.file`, for specifying the location of a custom configuration file. If it is set and the named file exists, the property settings contained in the file override those in the default JAXP configuration file. For more details, see the <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/module-summary.html#Conf">Configuration</a> section of the module specification.
- Deprecated the `stax.properties` file that was defined in the StAX API and used by the StAX factories. It had been made redundant after StAX's integration into JAXP since the function has been fully covered by the JAXP configuration file. It is recommended that applications migrate to the JAXP configuration file as the `stax.properties` file is deprecated and may no longer be supported in the future.