When I see that error I immediately wonder if the XML document was edited at some point with MS
Word and you are hitting "smart punctuation" characters.
A programmer's editor that can display in HEX is a great tool for debugging this sort of thing. The displayed "right arrow" may have little to do with the actual character.
Bill