commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31130] New: - [configuration]Added save() method and comment handling to HierarchicalXMLConfiguration
Date Wed, 08 Sep 2004 19:39:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31130>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31130

[configuration]Added save() method and comment handling to HierarchicalXMLConfiguration

           Summary: [configuration]Added save() method and comment handling
                    to HierarchicalXMLConfiguration
           Product: Commons
           Version: 1.0 Beta 2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: oliver.heger@t-online.de


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

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message