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 05, 2023
Applies to:
Java SE JDK and JRE - Version 8 and laterInformation in this document applies to any platform.
Symptoms
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.
Example code:
Changes
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.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |