Seems like java 9 introduced a bug in its management of XML indentation.
As explained in this post:
The behavior of OutputKeys.INDENT=yes was changed for something that looks wrong.
For example, look at the change here for W_Store_Trl_es_CO.xml
This changed the exported xml from:
This new "indentation" behavior of java 9 sounds wrong, for example as discussed here:
CDATA is not a tag and can be used inline in text
The undesired data-corrupted result is, for example when importing that W_Store_Trl_es_CO.xml file in iDempiere, the record looks like this: