Same issue here.
Version 4.1, praised to the sky, still has that nasty XML problem.
Dear dev team FIX THAT PROBLEM.
Shame on you not reacting for years on such an essy to solve issue.
I just experienced this bug as well.. Thank God for the people on this thread, it turns out that mine was caused by a special alt. character (Ø) that I chose to name one of my