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 31616] New: - Add support for DTD validation on XML configuration loading
Date Sun, 10 Oct 2004 06:39:16 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=31616>.
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=31616

Add support for DTD validation on XML configuration loading

           Summary: Add support for DTD validation on XML configuration
                    loading
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: austvold@colibria.com


Both XMLConfiguration and HierarchicalXMLConfiguration should support validation
of the XML configuration file against a DTD.

I would suggest adding a setter to allow the user to set an EntityResolver
before load is called. commons-configuration should apply the EntityResolver if
set, and supply a log-reporting ErrorHandler.

Since XMLConfiguration and HierarchicalXMLConfiguration do not share code for
XML file loading (shouldn't they?), the enhancement must be added to both classes.

---------------------------------------------------------------------
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