Relates :
|
A xml behavior change between jdk 1.8.0_251 to jdk 1.8.0_271 has been observed. When using the method Element::appendChild and use the format format-pretty-print to true to write the xml document. It was found that in 8u271 a \n is introduced which does not occur in 8u251. Example: ----jdk8u251--- <root> <item/> </root> ---jdk8u271--- <root> <item> </item> </root>