handle severe errors during XSLT transforms