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.
In reply to Re^5: not well formed (invalid token)
by moritz
in thread not well formed (invalid token)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |