Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
31130
Description
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.
Oliver