Affects Version/s: Nightly Builds
Fix Version/s: None
Operating System: All
With this patch new save() methods are added to HierarchicalXMLConfiguration,
which allow to save XML documents into a specified File or Writer.
Further comments are now handled, i.e. they are read from the source file,
stored in the internal node structure and are written to file in the save() method.
I still hope that HierarchicalXMLConfiguration can once replace
XMLConfiguration. This patch should be a step forward in this direction. What is
missing are processing instructions and comments that appear before the root
element in the XML file; these get lost.