Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: IO
-
Labels:None
Description
com.thoughtworks.xstream.io.xml.PrettyPrintWriter escapes characters already escaped.
For example & quot; becomes & amp;quot;
So if we transform (Smooks) two times, something like that will happened.
Is it possible to change this, or am I missing something ?
Strings that are emitted as part of an XML value have to be XML-escaped. The PPW must not interpret the String value. Please ask on the user's list for alternate implementations that may match your use case.