}
if (parser == null) {
throw new BuildException("Unable to create SAX parser.");
}
SchemaContext schemaContext = new SchemaContextImpl();
SchemaUnmarshaller schemaUnmarshaller = null;
try {
schemaUnmarshaller = new SchemaUnmarshaller(schemaContext);
} catch (XMLException e) {
throw new BuildException("Unable to create schema unmarshaller.", e);