<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<!--
4.3.9.4 Constraints on minExclusive Schema Components
  Schema Component Constraint: minExclusive < maxInclusive
    It is an error for the value specified for minExclusive
    to be greater than or equal to the value specified for 
    maxInclusive for the same datatype.

http://www.w3.org/TR/xmlschema-2/#minExclusive-less-than-maxInclusive
-->

	<xsd:simpleType name="st1">
		<xsd:restriction base="xsd:long">
			<xsd:minExclusive value="2"/>
			<xsd:maxInclusive value="1"/>
		</xsd:restriction>
	</xsd:simpleType>

	<xsd:complexType name="ct1">
		<xsd:attribute name="a1" type="st1" use="optional"/>
	</xsd:complexType>

</xsd:schema>
