SAXParserFactory spf = glob.getSAXParserFactory();
boolean validate = glob.getProperty().get("javax.xml.parsers.validation", false);
spf.setValidating(validate);
//if (log.isLoggable(Level.FINE)) log.trace(ME, "XML-Validation 'javax.xml.parsers.validation' set to " + validate);
SAXParser sp = spf.newSAXParser();
XMLReader parser = sp.getXMLReader();
//parser.setEntityResolver(EntityResolver resolver);
//parser.setFeature("http://xml.org/sax/features/validation", true);
//parser.setFeature("http://apache.org/xml/features/validation/schema", true);
//parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);