Java SE 8 Update 231 Transformer Class Inserts ASCII Carriage Return (
) in All Lines of XML Signed Document
(Doc ID 2631977.1)
Last updated on JANUARY 27, 2021
Applies to:Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.
After updating to Java SE 8 Update 231, an XML signed document contains the ASCII symbol for carriage return (
) in all lines when the DOM is serialized to a byte array using the Transformer class.
Updating to Java SE 8 Update 231 results in the issue. Serialized transforms with Java SE 8 Update 221 and previous updates do not add the ASCII carriage return symbol to the XML output.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document