xsd writer enum writing fix