[xsd] compare attribute string values for enums in normalized form. Fixes bug #9835.