getController(), getSAXParserFactory(), getPool() );
else {
// otherwise assume RELAX NG
if( strictCheck ) {
Schema s = RELAXNGCompReader.getRELAXNGSchema4Schema();
reader[0] = new RELAXNGCompReader(
getController(),
new SAXParserFactoryImpl(getSAXParserFactory(),s),
getPool() );
winner = setupPipeline(s);
} else {
winner = reader[0] = new RELAXNGCompReader(
getController(), getSAXParserFactory(), getPool() );
}
}
// simulate the start of the document.