Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-236

Outputting CombinedConfiguration as XML

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              oheger Oliver Heger
              Reporter:
              wanderingwalrus Mark Chaimungkalanont
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: