alertSink = new UniquifyingAlertSink(alertSink);
// build up a schema factory
SchemaFactory schemaFactory = new DelegatingSchemaFactory(
new FileBackedSchemaFactory(alertSink, schemaFiles),
new BuiltinSchemaFactory(alertSink));
Parser parser = new Parser(schemaFactory, SaxXmlParser.INSTANCE, entityResolver);
CompilationManager manager = readCompilationManager();
CompilationSet.Builder compilationSetBuilder =
new CompilationSet.Builder(parser, codeGeneratorFactory, manager)