[ 
https://issues.apache.org/jira/browse/CONFIGURATION-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519760
 ] 

irina fridkina commented on CONFIGURATION-292:
----------------------------------------------

I have a list of nodes with the same key. I use value inside the node to 
determine which node I want to remove.

"Oliver Heger (JIRA)" <[EMAIL PROTECTED]> wrote:   
[ 
https://issues.apache.org/jira/browse/CONFIGURATION-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519651
 ] 

Oliver Heger commented on CONFIGURATION-292:
--------------------------------------------

Can't you achieve the same effects with clearProperty() or clearTree() if the 
key you specify is specifc enough to select exactly one node?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.


> removeChild() doen't trigger auto saving
> ----------------------------------------
>
>                 Key: CONFIGURATION-292
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-292
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: I am using Nightly build dated July 19, 2007 
>            Reporter: irina fridkina
>             Fix For: 2.0
>
>
> When I remove nodes from the XMLConfiguration with autoSave enabled the file 
> doesn't change. Here is an example 
> XMLConfiguration config = new XMLConfiguration("c:\\conf.xml"); 
> config.setAutoSave(true) ; 
> ConfigurationNode parentNode = config.getRootNode();
> parentNode.removeChild(childName);
> config.xml didn't change to reflect the changes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to