Fix issues in XML data.