Skip to content
Snippets Groups Projects
Commit 4845b60d authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- minor, whitespaces

parent 23e7215d
Branches
Tags
No related merge requests found
......@@ -27,10 +27,8 @@ public class SLUBValidateSchema {
sf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
sf.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
sf.setFeature("http://apache.org/xml/features/honour-all-schemaLocations", true);
sf.setResourceResolver( validationResourceResolver );
Schema s = sf.newSchema( xsdUri.toURL());
Validator v = s.newValidator();
DOMSource src = new DOMSource(docvalidate);
v.validate(src);
......
......@@ -45,7 +45,6 @@ public class ValidationCatalogResolver implements CatalogResolver {
System.out.println("CATALOG RESOLVER: try to resolve for publicId=" + publicId + ", systemId=" + systemId + ", ");
}
result = cr.resolveEntity(publicId, systemId);
} catch (IOException | CatalogException | SAXException e) {
if (debug) {
System.out.println("CATALOG RESOLVER: No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment