On Tue, 12 Jan 2021 01:24:38 GMT, Joe Wang <jo...@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.

src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/dom3/DOMConstants.java
 line 131:

> 129: 
> 130:     // Corresponding System property
> 131:     public static final String SP_IS_STANDALONE = "jdk.xml.isStandalone";

Should this system property key be described somewhere in the javadoc, as an 
Oracle implSpec? Otherwise, how the user would know this switch?

-------------

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

Reply via email to