verifier.setErrorHandler(new RNGErrorHandler());
doc = source.read();
docBaseURI = doc.getBaseURI();
if (verifier != null && !verifier.verify(S9apiUtils.xdmToInputSource(runtime, doc))) {
throw new XProcException(XProcException.err_E0001, "Document is not valid");
}
result.write(doc);
} catch (VerifierConfigurationException ex) {