// evaluate the body using the current Verifier
if ( errorHandler != null ) {
// we are redirecting errors to another handler
// so just filter the body
VerifierFilter filter = verifier.getVerifierFilter();
// now install the current output in the filter chain...
// ####
ContentHandler handler = filter.getContentHandler();
handler.startDocument();
invokeBody( new XMLOutput( handler ) );
handler.endDocument();
valid = filter.isValid();
}
else {
// outputting the errors to the current output
verifier.setErrorHandler(
new ErrorHandler() {