You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Repository navigation
Commit 7a32bb9
Browse filesBrowse the repository at this point in the historyBrowse files
[java-source-utils] Transform XML using XSLT (#924)
I've seen inconsistent XML output from java-source-utils when running
on macOS vs. Windows, or JDK 8 vs. JDK 11. On Windows I've seen extra
carriage returns in CDATA blocks, and when using JDK 9+ we've seen
additional new lines added between XML elements.
An XSL style sheet can be used to improve the formatting consistency
of the XML that is produced. This should prevent us from generating
inconsistent API docs across macOS and Windows.
There is still [an outstanding issue][0] concerning CDATA blocks
between JDK 8 and JDK 11 that I have not yet been able to sort out.
This issue has seemingly been ["fixed" in JDK 14][1].
[0]: https://stackoverflow.com/questions/55853220/handling-change-in-newlines-by-xml-transformation-for-cdata-from-java-8-to-java
[1]: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8223291
0 commit comments