[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Commented: (CONFIGURATION-236) Outputting
From:       "Mark Chaimungkalanont (JIRA)" <jira () apache ! org>
Date:       2006-10-31 22:45:17
Message-ID: 11968485.1162334717700.JavaMail.root () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/CONFIGURATION-236?page=comments#action_12446102 \
]   
Mark Chaimungkalanont commented on CONFIGURATION-236:
-----------------------------------------------------

A further note to this. Oliver Heger mentioned on the user list

{quote}
I think it should be possible to somehow initialize a hierarchical configuration \
object with the data of another hierarchical configuration. This would also solve \
your problem.  {quote}

Which is very true. If the XMLConrfriguration object can take in another \
HierarchicalConfiguration object and init its values from that, I'd be laughing.

> 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
> 
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic