Hi,
I'm using xstream in java 1.4 and I'm having an issue with some embedded xml in the elements.
I have the following message:
<detail>
<SwiftMessage><SWIFT>hi<SWIFT/><SwiftMessage/>
<detail/>
The element data hi is a string held in the SwiftMessage tags. I can see that Xstream is seeing these and replacing them with
<SWIFT>hi<SWIFT/>
otherwise it creates invalid xml. What I want to know is there any way to quote this string to prevent xstream from doing this. Its part of a JMS message that is being sent to another system and they won't like the replacements.
Much appreciate any thoughts on this.