Subject:Bug in Validation Author:Karen Fox Date:18 Sep 2008 04:50 PM
I just wanted to point out an error I just discovered in a long schema I built. I had this, which I missed visually and wasn't caught when validating either. Shouldn't it have been? I didn't think minInclusive could contain maxInclusive.
<xsd:element name="Hundredths">
<xsd:annotation><xsd:documentation>Hundredths of a second in hundreds of second increments</xsd:documentation></xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="0">
<xsd:maxInclusive value="99"/>
</xsd:minInclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>