is) throws XNIException, IOException {
// REVISIT: for now, don't know what to do with DTD's...
if(!type.equals(XMLGrammarDescription.XML_SCHEMA))
return null;
if (fSchemaHandler == null) {
fXSGrammarBucket = new XSGrammarBucket();
fSubGroupHandler = new SubstitutionGroupHandler(fXSGrammarBucket);
fSchemaHandler = new XSDHandler(fXSGrammarBucket);
fCMBuilder = new CMBuilder(new XSDeclarationPool());
}