5543eb9de8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824563 13f79535-47bb-0310-9956-ffa450edef68
19 lines
776 B
XML
19 lines
776 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsd:schema
|
|
targetNamespace="urn:test-date-attribute"
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
xmlns="urn:test-date-attribute" elementFormDefault="qualified"
|
|
attributeFormDefault="unqualified" version="1">
|
|
<xsd:simpleType name="testDatewTZone">
|
|
<xsd:restriction base="xsd:date">
|
|
<xsd:minInclusive value="1970-01-01"/>
|
|
<xsd:maxInclusive value="2049-12-31"/>
|
|
<xsd:pattern value="\d\d\d\d-\d\d-\d\d"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
<xsd:element name="TestElementWithDateAttribute">
|
|
<xsd:complexType>
|
|
<xsd:attribute name="SomeDate" type="testDatewTZone" use="required"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:schema> |