// parse example documents
Iterator itr = examples.iterator();
while( itr.hasNext() ) {
File example = (File)itr.next();
reader.setContentHandler( new ExampleReader(driver.exampleTokens) );
reader.parse( com.sun.msv.util.Util.getInputSource(example.getAbsolutePath()) );
}
// set the grammar
ISchema schema = validator.parseSchema(schemaFile);