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=30205>.
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=30205

[configuration] XMLConfiguration doesn't support attribute names with a dot

           Summary: [configuration] XMLConfiguration doesn't support
                    attribute names with a dot
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Configuration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The setXmlProperty method in XMLConfiguration splits the key on the node
delimiter, that's the dot character, before diving into the DOM document to set
the property. It means that if the key specifies an attribute property
([EMAIL PROTECTED]), the attribute name can't contain a node delimiter otherwise it'll
be truncated. For example:

setXmlProperty("[EMAIL PROTECTED]", "value");

will result in the creation of the following element:

<foo ba="value"/>

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

Reply via email to