private static void setup(String schemaUrl) throws SAXException, Exception {
setErrorHandler();
errorHandler.setHtml(true);
errorHandler.start(null);
try {
validator.setUpMainSchema(schemaUrl, new SystemErrErrorHandler());
} catch (SchemaReadException e) {
System.out.println(e.getMessage() + " Terminating.");
System.exit(1);
} catch (StackOverflowError e) {
System.out.println("StackOverflowError"