Filter invalid XML characters in Texts