aboutsummaryrefslogtreecommitdiffstats
path: root/examples/xmlpatterns/schema/files
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 08:15:17 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 08:29:54 +0000
commit9768da0be5a09632c60c4e4035fa52b9c55376df (patch)
treed9e0d8545e08597f208cda183787b51028fa0680 /examples/xmlpatterns/schema/files
parentf47818b5c710aa6ae5f76809046105cb8c3d9f7f (diff)
Remove QtScript, QtXmlPatterns
They are obsolete in Qt 6. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: I70816b3c3270a1db65ad3b3871a09c62d31420e5 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/xmlpatterns/schema/files')
-rw-r--r--examples/xmlpatterns/schema/files/contact.xsd25
-rw-r--r--examples/xmlpatterns/schema/files/invalid_contact.xml11
-rw-r--r--examples/xmlpatterns/schema/files/invalid_order.xml13
-rw-r--r--examples/xmlpatterns/schema/files/invalid_recipe.xml14
-rw-r--r--examples/xmlpatterns/schema/files/order.xsd23
-rw-r--r--examples/xmlpatterns/schema/files/recipe.xsd40
-rw-r--r--examples/xmlpatterns/schema/files/valid_contact.xml11
-rw-r--r--examples/xmlpatterns/schema/files/valid_order.xml18
-rw-r--r--examples/xmlpatterns/schema/files/valid_recipe.xml13
9 files changed, 0 insertions, 168 deletions
diff --git a/examples/xmlpatterns/schema/files/contact.xsd b/examples/xmlpatterns/schema/files/contact.xsd
deleted file mode 100644
index 3e1b5704c..000000000
--- a/examples/xmlpatterns/schema/files/contact.xsd
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:element name="contact">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="givenName" type="xsd:string"/>
- <xsd:element name="familyName" type="xsd:string"/>
- <xsd:element name="birthdate" type="xsd:date" minOccurs="0"/>
- <xsd:element name="homeAddress" type="address"/>
- <xsd:element name="workAddress" type="address" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:complexType name="address">
- <xsd:sequence>
- <xsd:element name="street" type="xsd:string"/>
- <xsd:element name="zipCode" type="xsd:string"/>
- <xsd:element name="city" type="xsd:string"/>
- <xsd:element name="country" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
-</xsd:schema>
diff --git a/examples/xmlpatterns/schema/files/invalid_contact.xml b/examples/xmlpatterns/schema/files/invalid_contact.xml
deleted file mode 100644
index 42f1edd67..000000000
--- a/examples/xmlpatterns/schema/files/invalid_contact.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<contact>
- <givenName>John</givenName>
- <familyName>Doe</familyName>
- <title>Prof.</title>
- <workAddress>
- <street>Sandakerveien 116</street>
- <zipCode>N-0550</zipCode>
- <city>Oslo</city>
- <country>Norway</country>
- </workAddress>
-</contact>
diff --git a/examples/xmlpatterns/schema/files/invalid_order.xml b/examples/xmlpatterns/schema/files/invalid_order.xml
deleted file mode 100644
index 8ffc5fda4..000000000
--- a/examples/xmlpatterns/schema/files/invalid_order.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<order>
- <customerId>234219</customerId>
- <article>
- <articleId>21692</articleId>
- <count>3</count>
- </article>
- <article>
- <articleId>24749</articleId>
- <count>9</count>
- </article>
- <deliveryDate>2009-01-23</deliveryDate>
- <payed>yes</payed>
-</order>
diff --git a/examples/xmlpatterns/schema/files/invalid_recipe.xml b/examples/xmlpatterns/schema/files/invalid_recipe.xml
deleted file mode 100644
index 4d75af6a1..000000000
--- a/examples/xmlpatterns/schema/files/invalid_recipe.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<recipe>
- <title>Cheese on Toast</title>
- <ingredient name="Bread" quantity="2" unit="slices"/>
- <ingredient name="Cheese" quantity="2" unit="slices"/>
- <time quantity="3" unit="days"/>
- <method>
- <step>1. Slice the bread and cheese.</step>
- <step>2. Grill one side of each slice of bread.</step>
- <step>3. Turn over the bread and place a slice of cheese on each piece.</step>
- <step>4. Grill until the cheese has started to melt.</step>
- <step>5. Serve and enjoy!</step>
- </method>
- <comment>Tell your friends about it!</comment>
-</recipe>
diff --git a/examples/xmlpatterns/schema/files/order.xsd b/examples/xmlpatterns/schema/files/order.xsd
deleted file mode 100644
index 405cafe43..000000000
--- a/examples/xmlpatterns/schema/files/order.xsd
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:element name="order">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="customerId" type="xsd:positiveInteger"/>
- <xsd:element name="article" type="articleType" maxOccurs="unbounded"/>
- <xsd:element name="deliveryDate" type="xsd:date"/>
- <xsd:element name="payed" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:complexType name="articleType">
- <xsd:sequence>
- <xsd:element name="articleId" type="xsd:positiveInteger"/>
- <xsd:element name="count" type="xsd:positiveInteger"/>
- <xsd:element name="comment" type="xsd:string" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
-
-</xsd:schema>
diff --git a/examples/xmlpatterns/schema/files/recipe.xsd b/examples/xmlpatterns/schema/files/recipe.xsd
deleted file mode 100644
index bbbafd9a3..000000000
--- a/examples/xmlpatterns/schema/files/recipe.xsd
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:element name="recipe">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="title" type="xsd:string"/>
- <xsd:element name="ingredient" type="ingredientType" maxOccurs="unbounded"/>
- <xsd:element name="time" type="timeType"/>
- <xsd:element name="method">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="step" type="xsd:string" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:complexType name="ingredientType">
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="quantity" type="xsd:positiveInteger"/>
- <xsd:attribute name="unit" type="xsd:string"/>
- </xsd:complexType>
-
- <xsd:complexType name="timeType">
- <xsd:attribute name="quantity" type="xsd:positiveInteger"/>
- <xsd:attribute name="unit">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="seconds"/>
- <xsd:enumeration value="minutes"/>
- <xsd:enumeration value="hours"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:complexType>
-
-</xsd:schema>
diff --git a/examples/xmlpatterns/schema/files/valid_contact.xml b/examples/xmlpatterns/schema/files/valid_contact.xml
deleted file mode 100644
index 53c04d4b5..000000000
--- a/examples/xmlpatterns/schema/files/valid_contact.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<contact>
- <givenName>John</givenName>
- <familyName>Doe</familyName>
- <birthdate>1977-12-25</birthdate>
- <homeAddress>
- <street>Sandakerveien 116</street>
- <zipCode>N-0550</zipCode>
- <city>Oslo</city>
- <country>Norway</country>
- </homeAddress>
-</contact>
diff --git a/examples/xmlpatterns/schema/files/valid_order.xml b/examples/xmlpatterns/schema/files/valid_order.xml
deleted file mode 100644
index f83c36cb1..000000000
--- a/examples/xmlpatterns/schema/files/valid_order.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<order>
- <customerId>194223</customerId>
- <article>
- <articleId>22242</articleId>
- <count>5</count>
- </article>
- <article>
- <articleId>32372</articleId>
- <count>12</count>
- <comment>without stripes</comment>
- </article>
- <article>
- <articleId>23649</articleId>
- <count>2</count>
- </article>
- <deliveryDate>2009-01-23</deliveryDate>
- <payed>true</payed>
-</order>
diff --git a/examples/xmlpatterns/schema/files/valid_recipe.xml b/examples/xmlpatterns/schema/files/valid_recipe.xml
deleted file mode 100644
index f6499ba21..000000000
--- a/examples/xmlpatterns/schema/files/valid_recipe.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<recipe>
- <title>Cheese on Toast</title>
- <ingredient name="Bread" quantity="2" unit="slices"/>
- <ingredient name="Cheese" quantity="2" unit="slices"/>
- <time quantity="3" unit="minutes"/>
- <method>
- <step>1. Slice the bread and cheese.</step>
- <step>2. Grill one side of each slice of bread.</step>
- <step>3. Turn over the bread and place a slice of cheese on each piece.</step>
- <step>4. Grill until the cheese has started to melt.</step>
- <step>5. Serve and enjoy!</step>
- </method>
-</recipe>