JDK-8261209 : isStandalone property: remove dependency on pretty-print
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 8,11,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-02-05
  • Updated: 2021-04-21
  • Resolved: 2021-02-09
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 11 JDK 16 JDK 17 JDK 7 JDK 8
11.0.11Fixed 16.0.1Fixed 17 b09Fixed 7u301Fixed 8u281Fixed
Related Reports
CSR :  
Duplicate :  
Relates :  
Relates :  
Relates :  
The new implementation specific property isStandalone added through JDK-8249867 required the property ���format-pretty-print��� to be true. However, applications may want the serializer to produce the following:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
rather than:
<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><a>b</a></root>

In such cases, it would be desirable for the isStandalone property to take effect without format-pretty-print.

issue resolved in Apr CPU JDK 11 - removing the 11 BPR label

Fix Request (11u): Should get backported for parity with 11.0.11-oracle. It's a simple follow-up fix for JDK-8249867 which we also backported to 11.0.11. Doesn't apply cleanly. Review thread: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-March/005290.html

Fix Request(16u): Please approve backporting this changeset to jdk16u. Fix applies clean and is a follow on a fix from JDK-8249867. Risk is minimal. For more information visit CSR - https://bugs.openjdk.java.net/browse/JDK-8261438

Changeset: 7c565f8b Author: Joe Wang <joehw@openjdk.org> Date: 2021-02-09 17:50:25 +0000 URL: https://git.openjdk.java.net/jdk/commit/7c565f8b