You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/09/30 13:26:56 UTC

DO NOT REPLY [Bug 35858] - [configuration] subset() method alters XMLConfiguration when invoked

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





------- Additional Comments From ebourg@apache.org  2005-09-30 13:26 -------
(In reply to comment #8)
> About removing the subset() method at all: I think, this would work.
> SubsetConfiguration only adds the correct prefix and passes the key then to
> HierarchicalConfiguration, which correctly interprets indices. The subset test
> in TestHierarchicalConfiguration also tests such complex keys.

I added a test that fails if the subset() implementation is removed:

    assertEquals(fields[0][0], subset.getProperty("name(0)"));

I haven't looked why it doesn't work with a SubsetConfiguration.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org