If debug mode is set to true, then preprocessing stylesheet will be outputted in file
debug.xslt This has to be called before newValidator() to take effect.
Set the error event listener for the ValidatorFactory, which is used for the processing of the
Schematron schema, not for the Schematron validation itself.