Details
- 
        Type: Bug Bug
- 
        Status: Closed Closed
- 
            Priority: Major Major
- 
            Resolution: Not A Bug
- 
            Affects Version/s: 1.3.1
- 
            Fix Version/s: None
- 
            Component/s: Converters
- 
            Labels:None
- 
                        JDK version and platform:sun 1.6.0_17 for linux
Description
If javabean property has "", class com.thoughtworks.xstream.XStream's method toXML will covert it to "",but it don't covert value's "" to "__"
eg:
@@XStreamAlias("user")
class User
then it output xml is :
<user>
  <user_name>ha_h</user_name>
</user>


This is by design and described in the FAQ: http://xstream.codehaus.org/faq.html#XML_double_underscores. Please contact the users's list for questions about how to influence this bahavior.