throws DOMASException, Exception {
if (fSchemaHandler == null) {
fGrammarResolver = new XSGrammarResolver();
fSubGroupHandler = new SubstitutionGroupHandler(fGrammarResolver);
fSchemaHandler = new XSDHandler(fGrammarResolver);
fCMBuilder = new CMBuilder(new XSDeclarationPool());
}
fErrorReporter = (XMLErrorReporter)fConfiguration.getProperty(ERROR_REPORTER);
fEntityResolver = (XMLEntityResolver)fConfiguration.getProperty(ENTITY_RESOLVER);
if (fEntityResolver == null)