Made SchematronResourcePure more flexible to set phase and error handler
on demand