Hello,

For some reason i am having a hard time coming-up with a restriction
on a custom data type that must accept an integer between 1 and 9999.
Or, alternately, it could be empty. The following definition is
throwing a validation error on empty tags.


    <xs:restriction base="xs:nonNegativeInteger">
      <xs:minInclusive value="0" />
      <xs:maxInclusive value="4" />
    </xs:restriction>


What am I missing?


Thank you very much in advance!

Reply via email to