Yesterday I downloaded the Personal Edition to try it out. It objected
to the following piece of my test schema.

  <xs:element name="configSchema">
    <xs:simpleType>
      <xs:restriction base="xs:unsignedInt">
        <!-- 14-bit unsigned int -->
        <xs:maxExclusive value="16384"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>

The error message was:

file:/u/gl/tether/eeprom.xsd:29:20: cannot derive simpleType by
restriction: maxInclusive facet and maxExclusive facet are both
specified [maxInclusive-maxExclusive] [st-props-correct.1]

This should only be an error if maxExclusive and maxInclusive are both
used in the same restriction element. Perhaps unsignedInt was derived
from int or integer using maxInclusive but that should have no effect on
one's ability to derive new types from unsignedInt.

- Steve Tether
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to