Error logging now also outputs the XML fragment that couldn't be parsed - if it comes across such a beast.