Import/Export translation issue with java 11

Description

Seems like java 9 introduced a bug in its management of XML indentation.

As explained in this post:
http://java9.wtf/xml-transformer/

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:

to

This new "indentation" behavior of java 9 sounds wrong, for example as discussed here:
https://github.com/nashwaan/xml-js/issues/14

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:

expected value:

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Components

Affects versions

Priority

Critical
Configure