commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jo desmet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-445) XMLConfiguration save gives wrong xml when it contains combined elements (viewNode) with attributes
Date Wed, 06 Apr 2011 12:55:05 GMT
XMLConfiguration save gives wrong xml when it contains combined elements (viewNode) with attributes
---------------------------------------------------------------------------------------------------

                 Key: CONFIGURATION-445
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-445
             Project: Commons Configuration
          Issue Type: Bug
            Reporter: jo desmet


when creating a CombinedConfiguration with an overridecombiner I get into trouble when I need
to generate a xml file from te resulting view. It seems that the viewNodes which are created
do not handle the parent of the attributes correctly. 
So when saving this configuration the attributes get lost and attached to the rootnode.

I made a unit test and will attach the following files :
- component1.xml
- component1_spec.xml
- AttributeTest.java
- log output

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message