As I said, I have no control over what is generating the data. I would love to just pass this by, and not deal with the people that do, but unfortunatly that is not an option.
I am not trying to force XML::Simple to parse invalid XML. I am trying to throw away the invalid parts, so that there is only valid XML left.
I was just wondering if there was already something out there to do this.