if (argv.length < 2) {
printUsage();
System.exit(1);
}
// get DOM implementation
DOMImplementationAS domImpl = (DOMImplementationAS)ASDOMImplementationImpl.getDOMImplementation();
// create a new parser, and set the error handler
DOMASBuilder parser = domImpl.createDOMASBuilder();
DOMConfiguration config = parser.getDomConfig();
config.setParameter("error-handler", new ASBuilder());
boolean schemaFullChecking = DEFAULT_SCHEMA_FULL_CHECKING;