Revert inadvertent change to DefaultDocumentLoader

Revert changes to DefaultDocumentLoader accidentally committed in
60532cbd1e.
This commit is contained in:
Phillip Webb 2013-07-01 07:08:17 -07:00
parent 3157b68e4a
commit 638ba3fa97
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ public class DefaultDocumentLoader implements DocumentLoader {
factory.setNamespaceAware(namespaceAware);
if (validationMode != XmlValidationModeDetector.VALIDATION_NONE) {
factory.setFeature("http://apache.org/xml/features/validation/schema", false);
factory.setValidating(true);
if (validationMode == XmlValidationModeDetector.VALIDATION_XSD) {
// Enforce namespace aware for XSD...