summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternsvalidator/files/dateTime-with-microseconds.xsd
blob: 55557f1a817d65c860dc528818c74973f38956c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:element name="date" type="xsd:dateTime"/>

    <xsd:simpleType name="microsecondsType">
        <xsd:restriction base="xsd:dateTime">
            <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\d\d\d\dZ"/>
        </xsd:restriction>
    </xsd:simpleType>

</xsd:schema>