I am new to xml ..
I have a schema check problem when i have enumeration has hex value
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="0x23"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Hoever if the enumeration is replaced with an equivalent decimal value the problem goes way..
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
can some one what is the problem here why is the hex value not working
I have a schema check problem when i have enumeration has hex value
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="0x23"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Hoever if the enumeration is replaced with an equivalent decimal value the problem goes way..
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
can some one what is the problem here why is the hex value not working