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