Issue #2863206 by lolandese: XML output: whitelist for disallowed character in XML element tags (keys) instead of maintaining a very long blacklist.