Check out this: https://stackoverflow.com/questions/730133/what-are-invalid-characters-in-xml
See also these forum posts:
https://forum.mendix.com/link/questions/100903
https://forum.mendix.com/link/questions/100881