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:

1 <value column="WebParam2" original="&lt;h1&gt;Web Store&lt;/h1&gt;"><![CDATA[<h1>Tienda Web</h1>]]></value>

to

1 2 3 <value column="WebParam2" original="&lt;h1&gt;Web Store&lt;/h1&gt;"> <![CDATA[<h1>Tienda Web</h1>]]> </value>

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:

1 SELECT webparam2 FROM w_store_trl WHERE w_store_id=11

expected value:

1 <h1>Tienda Web</h1>
1 2 3 [newline] <h1>Tienda Web</h1> [newline]

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Components

Affects versions

6.2

Priority

Critical