[ https://issues.apache.org/jira/browse/CONFIGURATION-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated CONFIGURATION-64: ---------------------------------------- Fix Version/s: 1.0 > [configuration] clearXmlProperty doesn't remove list properties completely > -------------------------------------------------------------------------- > > Key: CONFIGURATION-64 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-64 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: Nightly Builds > Environment: Operating System: All > Platform: All > Reporter: Emmanuel Bourg > Fix For: 1.0 > > Attachments: clear-property-2.txt, clear-property.txt, > clear-xml-property.diff > > > 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> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]