<failure> <![CDATA[ ... ]]> </failure> creates a <failure> tag with text == "\n\n...\n". It needs to be on one line.