summaryrefslogtreecommitdiff
path: root/test/schemas/dur_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/dur_0.xsd')
-rw-r--r--test/schemas/dur_0.xsd72
1 files changed, 0 insertions, 72 deletions
diff --git a/test/schemas/dur_0.xsd b/test/schemas/dur_0.xsd
deleted file mode 100644
index 374c038..0000000
--- a/test/schemas/dur_0.xsd
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:annotation>
- <xsd:documentation xml:lang="en">
- Testing duration data types
- </xsd:documentation>
- </xsd:annotation>
- <xsd:element name="duration">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="second1">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxExclusive value="PT1S"/>
- <xsd:minExclusive value="PT0.1S"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="second2">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxInclusive value="PT1S"/>
- <xsd:minInclusive value="PT0.1S"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="month1">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxExclusive value="P1M"/>
- <xsd:minExclusive value="P0M"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="month2">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxInclusive value="P1M"/>
- <xsd:minInclusive value="P0M"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="month3" type="MSD"/>
- <xsd:element name="year1">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxExclusive value="P2Y"/>
- <xsd:minExclusive value="P1Y"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="year2">
- <xsd:simpleType>
- <xsd:restriction base="xsd:duration">
- <xsd:maxInclusive value="P2Y"/>
- <xsd:minInclusive value="P1Y"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- </xsd:choice>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:simpleType name="MSD">
- <xsd:restriction base="xsd:duration">
- <xsd:maxExclusive value="PT24H"/>
- <xsd:minExclusive value="-PT24H"/>
- </xsd:restriction>
- </xsd:simpleType>
-</xsd:schema>
-