RFR: 8249867: xml declaration is not followed by a newline [v2]

Lance Andersen lancea at openjdk.java.net
Wed Jan 27 11:42:42 UTC 2021

On Wed, 27 Jan 2021 06:33:01 GMT, Joe Wang <joehw at openjdk.org> wrote:

>> Please review a patch to add an explicit control over whether a newline should be added after the XML header. This is done by adding a DOM LSSerializer property "jdk-is-standalone" and System property "jdk.xml.isStandalone". 
>> This change addresses an incompatibility introduced during 7u4 as an update to Xalan 2.7.1.
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
>   Update: add javadoc for impl specific features and properties in module-info; update the patch accordingly.

src/java.xml/share/classes/module-info.java line 82:

> 80:  *
> 81:  * <h3>jaxp.properties</h3>
> 82:  * A system property can be specified in the {@code jaxp.properties} file to

I know this is covered in the tutorial, but perhaps add a section to module-info describing the jaxp.properties file so you do not have to leave the page to find out more details?


PR: https://git.openjdk.java.net/jdk/pull/2041

More information about the core-libs-dev mailing list