Log invalid XML input in XSLT filter if the logger is debug-enabled.