RFR [15/java.xml] 8238183: SAX2StAXStreamWriter cannot deal with comments prior to the root element

Joe Wang huizhe.wang at oracle.com
Mon Mar 30 18:02:37 UTC 2020


Please review a fix for the StAXResult impl. The issue was that it 
output comment prior to the declaration, resulting in an invalid XML 
document. The patch focuses on fixing this issue, but it does not cover 
other issues the StAXResult impl may have (e.g. JDK-8241711).

JBS: https://bugs.openjdk.java.net/browse/JDK-8238183
webrev: http://cr.openjdk.java.net/~joehw/jdk15/8238183/webrev/


More information about the core-libs-dev mailing list