Details
-
Type: Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Hi It seems there is an issue while creating XML
I have a variable called bid_value
When I converted using XStram xml is created with bid__value adding an extra underscore to variable name. Could you please explain the behaviour for this and also how can I get <?xml .....?> string to newXml() method.
Thanks
Suresh
(I recommend using the XStream mailing list for asking questions.)
The reason is that XStream treats an underscore _ as a special character to do escape codes (in a similar fasion to the backslash \ in Java strings).