Details
-
Type: Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
I know it is not Java Convention... But I got some Classes with an underscore in the class name.
During serialization, the underscores are not escaped. During deserialization, XStream unescapes (strips) the underscore and therefore does not find the Class by name.
Editing the XML manually wont work either (duplicating the underscores), since XStream seems not to unescape the underscore consistently.
What would be the good solution? Escaping on serialization and unescaping von deserialization?
Issue Links
- is superceded by
-
XSTR-252 Make replacement characters in XmlFriendlyMapper configurable
This issue is superceeded by
XSTR-252. Please comment there for additional input.