Hi,

I have a simple type enumeration with a list of sub address types. The problem 
I am encountering is that when I put "Factory" in as a value it causes the code 
for the generated stub to fail at compilation. Is this a known bug? Is there a 
workaround that would allow me to generate an enumeration that has Factory as a 
valid value? This is the definition from my xsd:

    <xsd:simpleType name="SubAddressType">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="Apartment" />
            <xsd:enumeration value="Flat" />
            <xsd:enumeration value="Floor" />
            <xsd:enumeration value="Ground" />
            <xsd:enumeration value="House" />
            <xsd:enumeration value="Level" />
            <xsd:enumeration value="Lot" />
            <xsd:enumeration value="Pier" />
            <xsd:enumeration value="Room" />
            <xsd:enumeration value="Shop" />
            <xsd:enumeration value="Site" />
            <xsd:enumeration value="SQ" />
            <xsd:enumeration value="Studio" />
            <xsd:enumeration value="Suite" />
            <xsd:enumeration value="Tenocy" />
            <xsd:enumeration value="Unit" />
        </xsd:restriction>
    </xsd:simpleType>

Regards,

David Meiklejohn

Reply via email to