I have defined an attribute on an element which uses a list of enumerations.  
The problem that I am having is that my enumeration list has uppercase and 
lowercase letters
that have different meanings.  For example, I have a "N" enumeration type and a 
"n" enumeration type.  When I use the source generator to create source for the 
schema, it is only including the "N" enumeration type!

Is this expected?  I don't see why it would not include types for both.

Here is a  snippet of the schema.


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="distribution">
        <xs:annotation>
            <xs:documentation>request to create a new 
distribution</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:attribute name="type" use="required">
                <xs:simpleType>
                    <xs:restriction base="xs:string">
                        <xs:enumeration value="A"/>
                        <xs:enumeration value="D"/>
                        <xs:enumeration value="H"/>
                        <xs:enumeration value="L"/>
                        <xs:enumeration value="M"/>
                        <xs:enumeration value="N"/>
                        <xs:enumeration value="P"/>
                        <xs:enumeration value="Q"/>
                        <xs:enumeration value="R"/>
                        <xs:enumeration value="S"/>
                        <xs:enumeration value="X"/>
                        <xs:enumeration value="d"/>
                        <xs:enumeration value="l"/>
                        <xs:enumeration value="n"/>
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
        </xs:complexType>
    </xs:element>
</xs:schema>


Any help would be appreciated,

Marty Jones


-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to