hexBinary minLength Bug or Feature? 2004-03-01 - By Don Adams
I have this defined in my schema: <xsd:simpleType name="addressType"> <xsd:restriction base="xsd:hexBinary"> <xsd:minLength value="1"/> <xsd:maxLength value="8"/> </xsd:restriction> </xsd:simpleType>
I was hoping this would allow values to be entered like "00" and "FFFFFFFFFFFFFFFF"; however, what I'm finding with oXygen and Xerces is that only values like "0000000000000000" and "FFFFFFFFFFFFFFFF" are being allowed. In other words, I'm required to type all 16 digits of the maxLength-sized hex number in order to be valid.
Is this correct behavior for minLength and maxLength of a hexBinary value? Maybe I'm trying to use hexBinary incorrectly.
-- Don Adams
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|