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=30234>. 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=30234 [configuration] clearXmlProperty doesn't remove list properties completely Summary: [configuration] clearXmlProperty doesn't remove list properties completely Product: Commons Version: Nightly Builds Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Configuration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] clearXmlProperty in XMLConfiguration stops on the first element found and doesn't examine the whole tree, that means calling clearXmlProperty on a list property only remove the first element. For example, given the following configuration file: <configuration> <key>value1</key> <key>value2</key> </configuration> calling conf.clearProperty("key") and saving the configuration will generate the following file instead of an empty configuration: <configuration> <key>value2</key> </configuration> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]