[ http://issues.apache.org/jira/browse/CONFIGURATION-236?page=all ]
Oliver Heger resolved CONFIGURATION-236. ---------------------------------------- Fix Version/s: Nightly Builds Resolution: Fixed A copy constructor was added to HierarchicalConfiguration and most of its sub classes. You should now be able to copy a combined configuration into a XMLConfiguration. > Outputting CombinedConfiguration as XML > --------------------------------------- > > Key: CONFIGURATION-236 > URL: http://issues.apache.org/jira/browse/CONFIGURATION-236 > Project: Commons Configuration > Issue Type: New Feature > Affects Versions: 1.3 Final > Reporter: Mark Chaimungkalanont > Assigned To: Oliver Heger > Fix For: Nightly Builds > > > I have a CombinedConfiguration created from two XmlConfiguration objects. I > want to output the combined XML of the CombinedConfiguration, but this > doesn't currently seem possible. > The CombinedConfiguration, through the NodeCombiner, seems to merge the > hierarchy internally in any case, so I don't really see massive problem with > outputting it as an XML. Logically the test would be: > String xml = CombinedConfiguration.toXml(); > CombinedConfiguration == XmlConfiguration(xml) > So the that outputted XML of the CombinedConfiguration would be logically the > same as the CombinedConfiguration. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]