File f = new File("../web/src/main/webapp/schemas/wfs/1.1.0/wfs.xsd" );
if ( !f.exists() ) {
return;
}
ErrorHandler handler = new ErrorHandler(logger, Level.WARNING);
// use the schema embedded in the web module
ReaderUtils.validate(reader, handler, WFS.NAMESPACE,
"../web/src/main/webapp/schemas/wfs/1.1.0/wfs.xsd");
assertTrue(handler.errors.isEmpty());