[jdk11u-dev] RFR: 8223291: Whitespace is added to CDATA tags when using OutputKeys.INDENT to format XML [v2]

Tyler Steele tsteele at openjdk.org
Fri Nov 18 23:30:46 UTC 2022


> Backporting this change to jdk11. I noticed this was also requested by @jocwurs as I was working on it.
> 
> Functionally this is a clean backport. But, there are some differences that will trip up the bots.
> - Copyright years are sometimes newer in the current jdk11u. I kept the newer year.
> - I merged two lists of bug ids into one--keeping all bug-ids.
> - Git seems to treat `test/.../OutputPropertiesTest.java` as a new file in these changes, but not in the old ones. This wasn't a conflict, but it shows up differently for me on GitHub when I compare it to the changes in the original commit.
> 
> Testing: OutputPropertiesTest passes.
> 
> I'll wait for a review before requesting this in JBS.

Tyler Steele has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - 8223291: Whitespace is added to CDATA tags when using OutputKeys.INDENT to format XML
   
   Reviewed-by: dfuchs, lancea
 - 8219705: Wrong media-type for a given serialization method
   
   Reviewed-by: lancea
 - Backport 08a370a8a56b129c9b1a812648261fe3ae8d7ea5

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

Changes: https://git.openjdk.org/jdk11u-dev/pull/1521/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1521&range=01
  Stats: 763 lines in 13 files changed: 238 ins; 439 del; 86 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1521.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1521/head:pull/1521

PR: https://git.openjdk.org/jdk11u-dev/pull/1521


More information about the jdk-updates-dev mailing list