Xml syntax error

Skip over records that give an XMLSyntaxError.
I don't think we shouldn't add an infinite loop on purpose. Why not keep the `for` loop that was here before?