RFR(JDK 14/java.xml) 8223291: Whitespace is added to CDATA tags when using OutputKeys.INDENT to format XML

Joe Wang huizhe.wang at oracle.com
Tue Jul 2 15:53:18 UTC 2019


On 7/2/19, 1:23 AM, Daniel Fuchs wrote:
> Oh, and BTW is the change to PrettyPrintTest.java intended?
> (the removal of the line:
>  385         dbf.setValidating(true);
> seems to be the only change)

Yes. The only effect of setting validating without an ErrorHandler was 
producing lots of warnings in the test result. It was therefore removed.

Best,
Joe

>
> best regards,
>
> -- daniel
>
> On 02/07/2019 10:21, Daniel Fuchs wrote:
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8223291
>> webrev: http://cr.openjdk.java.net/~joehw/jdk14/8223291/webrev/
>


More information about the core-libs-dev mailing list