in reply to Re^3: not well formed (invalid token)in thread not well formed (invalid token)
It probably needs to be decoded from character encoding your XML file is stored in into perl's internal representation.
See also a more verbose explanation.