<?xml version='1.0'?> | |
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' > | |
<!-- Schema to test time datatype --> | |
<xsd:element name='test' type='fooType' /> | |
<xsd:complexType name='fooType' > | |
<xsd:sequence> | |
<xsd:element name='foo' > | |
<xsd:simpleType> | |
<xsd:restriction base="xsd:time"> | |
<xsd:minExclusive value="10:21:00-05:00"/> | |
<xsd:maxExclusive value="13:20:00-04:00"/> | |
</xsd:restriction> | |
</xsd:simpleType> | |
</xsd:element> | |
</xsd:sequence> | |
</xsd:complexType> | |
</xsd:schema> |