[issue24896] XML: Replace invalid characters in XML element names with _