DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30799

Set wrong property when call 
org.apache.commons.configuration.XMLConfiguration.setProperty

           Summary: Set wrong property when call
                    org.apache.commons.configuration.XMLConfiguration.setPro
                    perty
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Configuration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I call org.apache.commons.configuration.XMLConfiguration.setProperty to 
set property, I find the relevant element in XML Document is set twice. For 
example, to call setProperty("name1", "value1") will obtain the node like 
<name1>value1value1</name1>
the value "value1" appear twice.

I find that when I call setProperty, addXMLProperty is called before 
setXMLProperty. When I comment "setXmlProperty(name, value);"(about line 347 in 
XMLConfiguration), the problem is disappeared.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to