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

Tyler Steele tsteele at openjdk.org
Fri Nov 18 23:44:01 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 refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  8223291: Whitespace is added to CDATA tags when using OutputKeys.INDENT to format XML
  
  Reviewed-by: dfuchs, lancea

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1521/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1521/files/07a98a26..a5bcb19e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1521&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1521&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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