}
public SchemaSG parse(InputSource pSource) throws Exception {
final String mName = "parse";
log.finest(mName, "->", pSource.getSystemId());
SGFactory factory = getSGFactory();
XSParser parser = factory.newXSParser();
log.finest(mName, "Parser = " + parser + ", validating = " + getGenerator().isValidating());
parser.setValidating(getGenerator().isValidating());
XSSchema schema = parser.parse(pSource);
log.finest(mName, "Schema = " + schema);
SchemaSG result = factory.getSchemaSG(schema);
log.finest(mName, "<-", result);
return result;
}