Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2008-01-14 17:00:27 -0500
committerpelder2008-01-14 17:00:27 -0500
commit1545d197b242f6cec3a9c4f93bfdb21b406b4430 (patch)
tree5deaf26d3e8e895d04f2ade9618f5bdf135c2dfe /tests/org.eclipse.jet.tests/data/dm-example.xsd
parent82931df8c37de9e8323727e27ff5f28008b861b7 (diff)
downloadorg.eclipse.jet-20080115.tar.gz
org.eclipse.jet-20080115.tar.xz
org.eclipse.jet-20080115.zip
This commit was manufactured by cvs2svn to create tag 'v20080115'.v20080115
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/dm-example.xsd')
-rw-r--r--tests/org.eclipse.jet.tests/data/dm-example.xsd145
1 files changed, 0 insertions, 145 deletions
diff --git a/tests/org.eclipse.jet.tests/data/dm-example.xsd b/tests/org.eclipse.jet.tests/data/dm-example.xsd
deleted file mode 100644
index 0231cf3..0000000
--- a/tests/org.eclipse.jet.tests/data/dm-example.xsd
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:cat="http://www.example.com/catalog" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.example.com/catalog">
-
-<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
-<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.cs.rpi.edu/~puninj/XGMML/xlinks-2001.xsd"/>
-
-<xs:element name="catalog">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" ref="cat:_item"/>
- </xs:sequence>
- <xs:attribute fixed="0.1" name="version" type="xs:string" use="required"/>
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- </xs:complexType>
-</xs:element>
-
-<xs:element abstract="true" name="_item" type="cat:itemType"/>
-
-<xs:complexType name="itemType">
- <xs:sequence>
- <xs:element name="title" type="xs:token"/>
- <xs:element name="description" nillable="true" type="cat:description"/>
- <xs:element maxOccurs="unbounded" name="price" type="cat:price"/>
- </xs:sequence>
- <xs:attribute name="label" type="xs:token"/>
- <xs:attribute name="code" type="xs:ID" use="required"/>
- <xs:attributeGroup ref="xlink:simpleLink"/>
-</xs:complexType>
-
-<xs:element name="tshirt" substitutionGroup="cat:_item" type="cat:tshirtType"/>
-
-<xs:complexType name="tshirtType">
- <xs:complexContent>
- <xs:extension base="cat:itemType">
- <xs:attribute name="sizes" type="cat:clothesSizes" use="required"/>
- </xs:extension>
- </xs:complexContent>
-</xs:complexType>
-
-<xs:simpleType name="clothesSizes">
- <xs:union memberTypes="cat:sizeList">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="oneSize"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
-</xs:simpleType>
-
-<xs:simpleType name="sizeList">
- <xs:restriction>
- <xs:simpleType>
- <xs:list itemType="cat:clothesSize"/>
- </xs:simpleType>
- <xs:minLength value="1"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="clothesSize">
- <xs:union memberTypes="cat:numberedSize cat:categorySize"/>
-</xs:simpleType>
-
-<xs:simpleType name="numberedSize">
- <xs:restriction base="xs:integer">
- <xs:enumeration value="4"/>
- <xs:enumeration value="6"/>
- <xs:enumeration value="8"/>
- <xs:enumeration value="10"/>
- <xs:enumeration value="12"/>
- <xs:enumeration value="14"/>
- <xs:enumeration value="16"/>
- <xs:enumeration value="18"/>
- <xs:enumeration value="20"/>
- <xs:enumeration value="22"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="categorySize">
- <xs:restriction base="xs:token">
- <xs:enumeration value="XS"/>
- <xs:enumeration value="S"/>
- <xs:enumeration value="M"/>
- <xs:enumeration value="L"/>
- <xs:enumeration value="XL"/>
- <xs:enumeration value="XXL"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:element name="album" substitutionGroup="cat:_item" type="cat:albumType"/>
-
-<xs:complexType name="albumType">
- <xs:complexContent>
- <xs:extension base="cat:itemType">
- <xs:sequence>
- <xs:element name="artist" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="formats" type="cat:formatsType" use="required"/>
- </xs:extension>
- </xs:complexContent>
-</xs:complexType>
-
-<xs:simpleType name="formatsType">
- <xs:list itemType="cat:formatType"/>
-</xs:simpleType>
-
-<xs:simpleType name="formatType">
- <xs:restriction base="xs:token">
- <xs:enumeration value="CD"/>
- <xs:enumeration value="MiniDisc"/>
- <xs:enumeration value="tape"/>
- <xs:enumeration value="vinyl"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:complexType mixed="true" name="description">
- <xs:sequence>
- <xs:any maxOccurs="unbounded" minOccurs="0" namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>
- </xs:sequence>
- <xs:attribute ref="xml:lang"/>
-</xs:complexType>
-
-<xs:complexType name="price">
- <xs:simpleContent>
- <xs:extension base="cat:monetaryAmount">
- <xs:attribute default="USD" name="currency" type="cat:currencyType"/>
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-<xs:simpleType name="currencyType">
- <xs:restriction base="xs:token">
- <xs:pattern value="[A-Z]{3}"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="monetaryAmount">
- <xs:restriction base="xs:decimal">
- <xs:fractionDigits value="3"/>
- <xs:pattern value="\d+\.(\d{2})?"/>
- </xs:restriction>
-</xs:simpleType>
-
-</xs:schema>

Back to the top