Author: mukulg
Date: Wed Jan 26 11:11:07 2022
New Revision: 1897497

URL: http://svn.apache.org/viewvc?rev=1897497&view=rev
Log:
committing vendor information, for w3c xml schema 1.0 test suite

Added:
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/address.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/address.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/itematt.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/address.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/itematt.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/address.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/itematt.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/address.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/extend.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_1.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_2.xml
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/itematt.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/AnnotatedTSSchema.xsd
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/BoeingXSDTestSet.testSet
    
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/BoeingXSDTestSuite.suite

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,126 @@
+<xsd:schema targetNamespace="http://www.example.com/IPO";
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+        xmlns:ipo="http://www.example.com/IPO";>
+
+ <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+
+ <xsd:element name="comment" type="xsd:string"/>
+ <xsd:element name="shipComment" type="xsd:string"
+  substitutionGroup="ipo:comment"/>
+ <xsd:element name="customerComment" type="xsd:string"
+  substitutionGroup="ipo:comment"/>
+
+ <xsd:complexType name="PurchaseOrderType">
+  <xsd:sequence>
+   <xsd:choice>
+    <xsd:group   ref="ipo:shipAndBill"/>
+    <xsd:element name="singleAddress" type="ipo:AddressType"/>
+   </xsd:choice>
+   <xsd:element ref="ipo:comment" minOccurs="0"/>
+   <xsd:element name="items"      type="ipo:ItemsType"/>
+  </xsd:sequence>
+  <xsd:attribute name="orderDate" type="xsd:date"/>
+ </xsd:complexType>
+
+ <xsd:group name="shipAndBill">
+  <xsd:sequence>
+   <xsd:element name="shipTo"     type="ipo:AddressType"/>
+   <xsd:element name="billTo"     type="ipo:AddressType"/>
+  </xsd:sequence>
+ </xsd:group>
+
+
+ <xsd:complexType name="AddressType">
+  <xsd:sequence>
+   <xsd:element name="name"   type="xsd:string"/>
+   <xsd:element name="street" type="xsd:string"/>
+   <xsd:element name="city"   type="xsd:string"/>
+  </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="USAddress">
+  <xsd:complexContent>
+   <xsd:extension base="ipo:AddressType">
+    <xsd:sequence>
+     <xsd:element name="state" type="ipo:USState"/>
+     <xsd:element name="zip"   type="xsd:positiveInteger"/>
+    </xsd:sequence>
+   </xsd:extension>
+  </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="UKAddress">
+  <xsd:complexContent>
+   <xsd:extension base="ipo:AddressType">
+    <xsd:sequence>
+     <xsd:element name="postcode" type="ipo:UKPostcode"/>
+    </xsd:sequence>
+    <xsd:attribute name="exportCode" type="xsd:positiveInteger" fixed="1"/>
+   </xsd:extension>
+  </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- other Address derivations for more countries --> 
+ <xsd:simpleType name="USState">
+  <xsd:restriction base="xsd:string">
+   <xsd:enumeration value="AK"/>
+   <xsd:enumeration value="AL"/>
+   <xsd:enumeration value="AR"/>
+   <xsd:enumeration value="CA"/>
+   <!-- and so on ... -->
+   <xsd:enumeration value="PA"/>
+  </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- simple type definition for UKPostcode -->
+ <xsd:simpleType name="UKPostcode">
+  <xsd:restriction base="xsd:string">
+   <xsd:pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+  </xsd:restriction>
+ </xsd:simpleType>
+
+<xsd:complexType name="ItemsType" mixed="true">
+ <xsd:sequence>
+ <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
+  <xsd:complexType>
+    <xsd:sequence>
+      <xsd:element name="productName" type="xsd:string"/>
+      <xsd:element name="quantity">
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:positiveInteger">
+            <xsd:maxExclusive value="100"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+      <xsd:element name="USPrice"  type="xsd:decimal"/>
+      <xsd:element ref="ipo:comment"   minOccurs="0" maxOccurs="2"/>
+      <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
+    </xsd:sequence>
+    <!-- attributeGroup replaces individual declarations -->
+    <xsd:attributeGroup ref="ipo:ItemDelivery"/>
+  </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+</xsd:complexType>
+
+<xsd:attributeGroup name="ItemDelivery">
+  <xsd:attribute name="partNum"  type="ipo:SKU" use="required"/>
+  <xsd:attribute name="weightKg" type="xsd:decimal"/>
+  <xsd:attribute name="shipBy">
+    <xsd:simpleType>
+      <xsd:restriction base="xsd:string">
+        <xsd:enumeration value="air"/>
+        <xsd:enumeration value="land"/>
+        <xsd:enumeration value="any"/>
+      </xsd:restriction>
+    </xsd:simpleType>
+  </xsd:attribute>
+</xsd:attributeGroup>
+
+ <xsd:simpleType name="SKU">
+  <xsd:restriction base="xsd:string">
+   <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+  </xsd:restriction>
+ </xsd:simpleType>
+
+</xsd:schema>
\ No newline at end of file

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,34 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ipo="http://www.example.com/IPO"; orderDate="2002-10-20" 
xsi:schemaLocation="http://www.example.com/IPO ipo.xsd">
+  <shipTo xsi:type="ipo:USAddress">
+    <name>Alice Smith</name>
+    <street>123 Maple Street</street>
+    <city>Mill Valley</city>
+    <state>AL</state>
+    <zip>90952</zip>
+  </shipTo>
+  <billTo xsi:type="ipo:USAddress">
+    <name>Robert Smith</name>
+    <street>8 Oak Avenue</street>
+    <city>Old Town</city>
+    <state>AK</state>
+    <zip>95800</zip>
+  </billTo>
+  <ipo:comment>Hurry, my sister loves Boeing!</ipo:comment>
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="land">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <ipo:shipComment> Use gold wrap if possible </ipo:shipComment>
+      <ipo:customerComment> Want this for the holidays! </ipo:customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo1/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ipo="http://www.example.com/IPO"; orderDate="2002-10-20" 
xsi:schemaLocation="http://www.example.com/IPO ipo.xsd">
+  <singleAddress exportCode="1" xsi:type="ipo:UKAddress">
+    <name>Helen Zoe</name>
+    <street>47 Eden Street</street>
+    <city>Cambridge</city>
+    <postcode>CB1 1JR</postcode>
+  </singleAddress>
+  <ipo:comment>I love Boeing too!</ipo:comment>
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="any">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/address.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/address.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/address.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/address.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,54 @@
+<schema targetNamespace="http://www.example.com/add";
+        xmlns="http://www.w3.org/2001/XMLSchema";
+        xmlns:add="http://www.example.com/add";>
+
+ <complexType name="AddressType">
+  <sequence>
+   <element name="name"   type="string"/>
+   <element name="street" type="string"/>
+   <element name="city"   type="string"/>
+  </sequence>
+ </complexType>
+
+ <complexType name="USAddress">
+  <complexContent>
+   <extension base="add:AddressType">
+    <sequence>
+     <element name="state" type="add:USState"/>
+     <element name="zip"   type="positiveInteger"/>
+    </sequence>
+   </extension>
+  </complexContent>
+ </complexType>
+
+ <complexType name="UKAddress">
+  <complexContent>
+   <extension base="add:AddressType">
+    <sequence>
+     <element name="postcode" type="add:UKPostcode"/>
+    </sequence>
+    <attribute name="exportCode" type="positiveInteger" fixed="1"/>
+   </extension>
+  </complexContent>
+ </complexType>
+
+ <!-- other Address derivations for more countries --> 
+ <simpleType name="USState">
+  <restriction base="string">
+   <enumeration value="AK"/>
+   <enumeration value="AL"/>
+   <enumeration value="AR"/>
+   <enumeration value="CA"/>
+   <!-- and so on ... -->
+   <enumeration value="PA"/>
+  </restriction>
+ </simpleType>
+
+ <!-- simple type definition for UKPostcode -->
+ <simpleType name="UKPostcode">
+  <restriction base="string">
+   <pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+  </restriction>
+ </simpleType>
+
+</schema>
\ No newline at end of file

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,79 @@
+<xsd:schema targetNamespace="http://www.example.com/IPO";
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+        xmlns:ipo="http://www.example.com/IPO";
+        xmlns:add="http://www.example.com/add";>
+
+ <xsd:import namespace="http://www.example.com/add"; 
schemaLocation="address.xsd"/>
+
+ <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+
+ <xsd:element name="comment" type="xsd:string"/>
+ <xsd:element name="shipComment" type="xsd:string"
+  substitutionGroup="ipo:comment"/>
+ <xsd:element name="customerComment" type="xsd:string"
+  substitutionGroup="ipo:comment"/>
+
+ <xsd:complexType name="PurchaseOrderType">
+  <xsd:sequence>
+   <xsd:choice>
+    <xsd:group   ref="ipo:shipAndBill"/>
+    <xsd:element name="singleAddress" type="add:AddressType"/>
+   </xsd:choice>
+   <xsd:element ref="ipo:comment" minOccurs="0"/>
+   <xsd:element name="items"      type="ipo:ItemsType"/>
+  </xsd:sequence>
+  <xsd:attribute name="orderDate" type="xsd:date"/>
+ </xsd:complexType>
+
+ <xsd:group name="shipAndBill">
+  <xsd:sequence>
+   <xsd:element name="shipTo"     type="add:AddressType"/>
+   <xsd:element name="billTo"     type="add:AddressType"/>
+  </xsd:sequence>
+ </xsd:group>
+
+<xsd:complexType name="ItemsType" mixed="true">
+ <xsd:sequence>
+ <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
+  <xsd:complexType>
+    <xsd:sequence>
+      <xsd:element name="productName" type="xsd:string"/>
+      <xsd:element name="quantity">
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:positiveInteger">
+            <xsd:maxExclusive value="100"/>
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:element>
+      <xsd:element name="USPrice"  type="xsd:decimal"/>
+      <xsd:element ref="ipo:comment"   minOccurs="0" maxOccurs="2"/>
+      <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
+    </xsd:sequence>
+    <!-- attributeGroup replaces individual declarations -->
+    <xsd:attributeGroup ref="ipo:ItemDelivery"/>
+  </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+</xsd:complexType>
+
+<xsd:attributeGroup name="ItemDelivery">
+  <xsd:attribute name="partNum"  type="ipo:SKU" use="required"/>
+  <xsd:attribute name="weightKg" type="xsd:decimal"/>
+  <xsd:attribute name="shipBy">
+    <xsd:simpleType>
+      <xsd:restriction base="xsd:string">
+        <xsd:enumeration value="air"/>
+        <xsd:enumeration value="land"/>
+        <xsd:enumeration value="any"/>
+      </xsd:restriction>
+    </xsd:simpleType>
+  </xsd:attribute>
+</xsd:attributeGroup>
+
+ <xsd:simpleType name="SKU">
+  <xsd:restriction base="xsd:string">
+   <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+  </xsd:restriction>
+ </xsd:simpleType>
+
+</xsd:schema>
\ No newline at end of file

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ipo="http://www.example.com/IPO"; xmlns:add="http://www.example.com/add"; 
orderDate="2002-10-20" xsi:schemaLocation="http://www.example.com/IPO ipo.xsd">
+  <shipTo xsi:type="add:USAddress">
+    <name>Alice Smith</name>
+    <street>123 Maple Street</street>
+    <city>Mill Valley</city>
+    <state>CA</state>
+    <zip>90952</zip>
+  </shipTo>
+  <billTo xsi:type="add:USAddress">
+    <name>Robert Smith</name>
+    <street>8 Oak Avenue</street>
+    <city>Old Town</city>
+    <state>PA</state>
+    <zip>95819</zip>
+  </billTo>
+  <ipo:comment>Hurry, my sister loves Boeing!</ipo:comment>
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <ipo:shipComment> Use gold wrap if possible </ipo:shipComment>
+      <ipo:customerComment> Want this for the holidays! </ipo:customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item partNum="833-AA" shipBy="air" weightKg="2.5">
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <ipo:comment>This is a comment...</ipo:comment>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo2/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ipo="http://www.example.com/IPO"; xmlns:add="http://www.example.com/add"; 
orderDate="2002-10-20" xsi:schemaLocation="http://www.example.com/IPO ipo.xsd">
+  <singleAddress exportCode="1" xsi:type="add:UKAddress">
+    <name>Helen Zoe</name>
+    <street>47 Eden Street</street>
+    <city>Cambridge</city>
+    <postcode>CB1 1JR</postcode>
+  </singleAddress>
+  <ipo:comment>I love Boeing too!</ipo:comment>
+  <items>
+    <item partNum="777-AB" weightKg="4.5" shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/address.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/address.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/address.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/address.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,47 @@
+<schema xmlns="http://www.w3.org/2001/XMLSchema"; 
xmlns:add="http://www.example.com/add"; 
targetNamespace="http://www.example.com/add";
+elementFormDefault="unqualified" attributeFormDefault="unqualified">
+       <complexType name="AddressType">
+               <sequence>
+                       <element name="name" type="string"/>
+                       <element name="street" type="string"/>
+                       <element name="city" type="string"/>
+               </sequence>
+       </complexType>
+       <complexType name="USAddress">
+               <complexContent>
+                       <extension base="add:AddressType">
+                               <sequence>
+                                       <element name="state" 
type="add:USState"/>
+                                       <element name="zip" 
type="positiveInteger"/>
+                               </sequence>
+                       </extension>
+               </complexContent>
+       </complexType>
+       <complexType name="UKAddress">
+               <complexContent>
+                       <extension base="add:AddressType">
+                               <sequence>
+                                       <element name="postcode" 
type="add:UKPostcode"/>
+                               </sequence>
+                               <attribute name="exportCode" 
type="positiveInteger" fixed="1"/>
+                       </extension>
+               </complexContent>
+       </complexType>
+       <!-- other Address derivations for more countries -->
+       <simpleType name="USState">
+               <restriction base="string">
+                       <enumeration value="AK"/>
+                       <enumeration value="AL"/>
+                       <enumeration value="AR"/>
+                       <enumeration value="CA"/>
+                       <enumeration value="PA"/>
+                       <!-- and so on ... -->
+               </restriction>
+       </simpleType>
+       <!-- simple type definition for UKPostcode -->
+       <simpleType name="UKPostcode">
+               <restriction base="string">
+                       <pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+               </restriction>
+       </simpleType>
+</schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,49 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:ipo="http://www.example.com/IPO"; xmlns:add="http://www.example.com/add"; 
targetNamespace="http://www.example.com/IPO";
+elementFormDefault="qualified" attributeFormDefault="qualified">
+       <xsd:import namespace="http://www.example.com/add"; 
schemaLocation="address.xsd"/>
+       <xsd:include schemaLocation="itematt.xsd"/>
+       <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+       <xsd:element name="comment" type="xsd:string" abstract="true"/>
+       <xsd:element name="shipComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+       <xsd:element name="customerComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+       <xsd:complexType name="PurchaseOrderType">
+               <xsd:sequence>
+                       <xsd:choice>
+                               <xsd:group ref="ipo:shipAndBill"/>
+                               <xsd:element name="singleAddress" 
type="add:AddressType"/>
+                       </xsd:choice>
+                       <xsd:element ref="ipo:comment" minOccurs="0"/>
+                       <xsd:element name="items" type="ipo:ItemsType"/>
+               </xsd:sequence>
+               <xsd:attribute name="orderDate" type="xsd:date"/>
+       </xsd:complexType>
+       <xsd:group name="shipAndBill">
+               <xsd:sequence>
+                       <xsd:element name="shipTo" type="add:AddressType"/>
+                       <xsd:element name="billTo" type="add:AddressType"/>
+               </xsd:sequence>
+       </xsd:group>
+       <xsd:complexType name="ItemsType" mixed="true">
+               <xsd:sequence>
+                       <xsd:element name="item" minOccurs="0" 
maxOccurs="unbounded">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="productName" 
type="xsd:string"/>
+                                               <xsd:element name="quantity">
+                                                       <xsd:simpleType>
+                                                               
<xsd:restriction base="xsd:positiveInteger">
+                                                                       
<xsd:maxExclusive value="100"/>
+                                                               
</xsd:restriction>
+                                                       </xsd:simpleType>
+                                               </xsd:element>
+                                               <xsd:element name="USPrice" 
type="xsd:decimal"/>
+                                               <xsd:element ref="ipo:comment" 
minOccurs="0" maxOccurs="2"/>
+                                               <xsd:element name="shipDate" 
type="xsd:date" minOccurs="0"/>
+                                       </xsd:sequence>
+                                       <xsd:attributeGroup 
ref="ipo:ItemDelivery"/>
+                                       <!-- attributeGroup replaces individual 
declarations -->
+                               </xsd:complexType>
+                       </xsd:element>
+               </xsd:sequence>
+       </xsd:complexType>
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,34 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ipo="http://www.example.com/IPO"; xmlns:add="http://www.example.com/add"; 
ipo:orderDate="2002-10-20" xsi:schemaLocation="http://www.example.com/IPO 
ipo.xsd">
+  <ipo:shipTo xsi:type="add:USAddress">
+    <name>Alice Smith</name>
+    <street>123 Maple Street</street>
+    <city>Mill Valley</city>
+    <state>CA</state>
+    <zip>90952</zip>
+  </ipo:shipTo>
+  <ipo:billTo xsi:type="add:USAddress">
+    <name>Robert Smith</name>
+    <street>8 Oak Avenue</street>
+    <city>Old Town</city>
+    <state>PA</state>
+    <zip>95819</zip>
+  </ipo:billTo>
+  <ipo:shipComment>Hurry, my sister loves Boeing!</ipo:shipComment>
+  <ipo:items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air" 
xmlns="http://www.example.com/IPO";>
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <ipo:shipComment> Use gold wrap if possible </ipo:shipComment>
+      <ipo:customerComment> Want this for the holidays! </ipo:customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item partNum="833-AA" xmlns="http://www.example.com/IPO";>
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </ipo:items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<ipo:purchaseOrder ipo:orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns:ipo="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+>
+  <ipo:singleAddress exportCode="1" xsi:type="add:UKAddress">
+    <name>Helen Zoe</name>
+    <street>47 Eden Street</street>
+    <city>Cambridge</city>
+    <postcode>CB1 1JR</postcode>
+  </ipo:singleAddress>
+  <ipo:customerComment>I love Boeing too!</ipo:customerComment>
+  <ipo:items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air" 
xmlns="http://www.example.com/IPO";>
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item partNum="833-AA" xmlns="http://www.example.com/IPO";>
+      <productName>833 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </ipo:items>
+</ipo:purchaseOrder>
+

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/itematt.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/itematt.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/itematt.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo3/itematt.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,20 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+       <xsd:attributeGroup name="ItemDelivery">
+               <xsd:attribute name="partNum" type="SKU" use="required"/>
+               <xsd:attribute name="weightKg" type="xsd:decimal"/>
+               <xsd:attribute name="shipBy">
+                       <xsd:simpleType>
+                               <xsd:restriction base="xsd:string">
+                                       <xsd:enumeration value="air"/>
+                                       <xsd:enumeration value="land"/>
+                                       <xsd:enumeration value="any"/>
+                               </xsd:restriction>
+                       </xsd:simpleType>
+               </xsd:attribute>
+       </xsd:attributeGroup>
+       <xsd:simpleType name="SKU">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/address.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/address.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/address.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/address.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,54 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns="http://www.example.com/IPO"; 
targetNamespace="http://www.example.com/IPO";
+>
+
+       <xsd:complexType name="AddressType">
+               <xsd:sequence>
+                       <xsd:element name="name" type="xsd:string"/>
+                       <xsd:element name="street" type="xsd:string"/>
+                       <xsd:element name="city" type="xsd:string"/>
+               </xsd:sequence>
+       </xsd:complexType>
+
+       <xsd:complexType name="USAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="state" 
type="USState"/>
+                                       <xsd:element name="zip" 
type="xsd:positiveInteger"/>
+                               </xsd:sequence>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <xsd:complexType name="UKAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="postcode" 
type="UKPostcode"/>
+                               </xsd:sequence>
+                               <xsd:attribute name="exportCode" 
type="xsd:positiveInteger" fixed="1"/>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <!-- other Address derivations for US states -->
+       <xsd:simpleType name="USState">
+               <xsd:restriction base="xsd:string">
+                       <xsd:enumeration value="AK"/>
+                       <xsd:enumeration value="AL"/>
+                       <xsd:enumeration value="AR"/>
+                       <xsd:enumeration value="CA"/>
+                       <xsd:enumeration value="PA"/>
+                       <!-- and so on ... -->
+               </xsd:restriction>
+       </xsd:simpleType>
+
+       <!-- simple type definition for UKPostcode -->
+       <xsd:simpleType name="UKPostcode">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,74 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:ipo="http://www.example.com/IPO"; 
targetNamespace="http://www.example.com/IPO";
+ xmlns:att="http://www.example.com/att";
+ elementFormDefault="qualified">
+
+       <xsd:import namespace="http://www.example.com/att"; 
schemaLocation="itematt.xsd"/>
+
+       <!-- redefinition of AddressType -->
+       <xsd:redefine schemaLocation="address.xsd">
+               <xsd:complexType name="AddressType">
+                       <xsd:complexContent>
+                               <xsd:extension base="ipo:AddressType">
+                                       <xsd:sequence>
+                                               <xsd:element name="country" 
type="xsd:string"/>
+                                       </xsd:sequence>
+                               </xsd:extension>
+                       </xsd:complexContent>
+               </xsd:complexType>
+       </xsd:redefine>
+
+       <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+
+       <xsd:element name="comment" type="xsd:string" abstract="true"/>
+
+       <xsd:element name="shipComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:element name="customerComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:complexType name="PurchaseOrderType">
+               <xsd:sequence>
+                       <xsd:choice>
+                               <xsd:group ref="ipo:shipAndBill"/>
+                               <xsd:element name="singleAddress" 
type="ipo:AddressType"/>
+                       </xsd:choice>
+                       <xsd:element ref="ipo:comment" minOccurs="0"/>
+                       <xsd:element name="items" type="ipo:ItemsType"/>
+               </xsd:sequence>
+               <xsd:attribute name="orderDate" type="xsd:date"/>
+       </xsd:complexType>
+
+       <xsd:group name="shipAndBill">
+               <xsd:sequence>
+                       <xsd:element name="shipTo" type="ipo:AddressType"/>
+                       <xsd:element name="billTo" type="ipo:AddressType"/>
+               </xsd:sequence>
+       </xsd:group>
+
+       <xsd:complexType name="ItemsType">
+               <xsd:sequence>
+                       <xsd:element name="item" minOccurs="0" 
maxOccurs="unbounded">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="productName" 
type="xsd:string"/>
+                                               <xsd:element name="quantity">
+                                                       <xsd:simpleType>
+                                                               
<xsd:restriction base="xsd:positiveInteger">
+                                                                       
<xsd:maxExclusive value="100"/>
+                                                               
</xsd:restriction>
+                                                       </xsd:simpleType>
+                                               </xsd:element>
+                                               <xsd:element name="USPrice" 
type="xsd:decimal"/>
+                                               <xsd:element ref="ipo:comment" 
minOccurs="0" maxOccurs="2"/>
+                                               <xsd:element name="shipDate" 
type="xsd:date" minOccurs="0"/>
+                                       </xsd:sequence>
+
+                                       <!-- attributeGroup replaces individual 
declarations -->
+                                       <xsd:attributeGroup 
ref="att:ItemDelivery"/>
+
+                               </xsd:complexType>
+                       </xsd:element>
+               </xsd:sequence>
+       </xsd:complexType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<ipo:purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns:ipo="http://www.example.com/IPO";
+ xmlns:att="http://www.example.com/att";
+>
+  <ipo:shipTo xsi:type="ipo:USAddress">
+    <name>Alice Smith</name>
+    <street>123 Maple Street</street>
+    <city>Mill Valley</city>
+    <!-- country was added to AddressType which is base type of USAddress -->
+    <ipo:country>United States of America</ipo:country>
+    <state>CA</state>
+    <zip>90952</zip>
+  </ipo:shipTo>
+  <ipo:billTo xsi:type="ipo:USAddress">
+    <name>Robert Smith</name>
+    <street>8 Oak Avenue</street>
+    <city>Old Town</city>
+    <!-- country was added to AddressType which is base type of USAddress -->
+    <ipo:country>United States of America</ipo:country>
+    <state>PA</state>
+    <zip>95819</zip>
+  </ipo:billTo>
+  <ipo:shipComment>Hurry, my sister loves Boeing!</ipo:shipComment>
+  <items xmlns="http://www.example.com/IPO";>
+    <item att:partNum="777-BA" att:weightKg="4.5" att:shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipComment> Use gold wrap if possible </shipComment>
+      <customerComment> Want this for the holidays! </customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item att:partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<ipo:purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns:ipo="http://www.example.com/IPO";
+ xmlns:att="http://www.example.com/att";
+>
+  <ipo:singleAddress exportCode="1" xsi:type="ipo:UKAddress">
+    <name>Helen Zoe</name>
+    <street>47 Eden Street</street>
+    <city>Cambridge</city>
+    <!-- country was added to AddressType which is base type of UKAddress -->
+    <ipo:country>United Kingdom</ipo:country>
+    <postcode>CB1 1JR</postcode>
+  </ipo:singleAddress>
+  <ipo:customerComment>I love Boeing too!</ipo:customerComment>
+  <items xmlns="http://www.example.com/IPO";>
+    <item att:partNum="777-BA" att:weightKg="4.5" att:shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+    <item att:partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+</ipo:purchaseOrder>
+

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/itematt.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/itematt.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/itematt.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo4/itematt.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,25 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:att="http://www.example.com/att"; 
targetNamespace="http://www.example.com/att";
+ attributeFormDefault="qualified">
+
+       <xsd:attributeGroup name="ItemDelivery">
+               <xsd:attribute name="partNum" type="att:SKU" use="required"/>
+               <xsd:attribute name="weightKg" type="xsd:decimal"/>
+               <xsd:attribute name="shipBy">
+                       <xsd:simpleType>
+                               <xsd:restriction base="xsd:string">
+                                       <xsd:enumeration value="air"/>
+                                       <xsd:enumeration value="land"/>
+                                       <xsd:enumeration value="any"/>
+                               </xsd:restriction>
+                       </xsd:simpleType>
+               </xsd:attribute>
+       </xsd:attributeGroup>
+
+       <xsd:simpleType name="SKU">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/address.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/address.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/address.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/address.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,13 @@
+<schema xmlns="http://www.w3.org/2001/XMLSchema";
+ xmlns:add="http://www.example.com/add"; 
targetNamespace="http://www.example.com/add";
+ elementFormDefault="qualified"
+>
+       <complexType name="AddressType">
+               <sequence>
+                       <element name="name" type="string"/>
+                       <element name="street" type="string"/>
+                       <element name="city" type="string"/>
+               </sequence>
+       </complexType>
+
+</schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,100 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:ipo="http://www.example.com/IPO"; 
targetNamespace="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+ elementFormDefault="qualified"
+>
+       <xsd:import namespace="http://www.example.com/add"; 
schemaLocation="address.xsd"/>
+
+       <xsd:include schemaLocation="itematt.xsd"/>
+
+       <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+
+       <xsd:element name="comment" type="xsd:string" abstract="true"/>
+
+       <xsd:element name="shipComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:element name="customerComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:complexType name="PurchaseOrderType">
+               <xsd:sequence>
+                       <xsd:choice>
+                               <xsd:group ref="ipo:shipAndBill"/>
+                               <xsd:element name="singleAddress" 
type="add:AddressType"/>
+                       </xsd:choice>
+                       <xsd:element ref="ipo:comment" minOccurs="0"/>
+                       <xsd:element name="items" type="ipo:ItemsType"/>
+               </xsd:sequence>
+               <xsd:attribute name="orderDate" type="xsd:date"/>
+       </xsd:complexType>
+
+       <xsd:group name="shipAndBill">
+               <xsd:sequence>
+                       <xsd:element name="shipTo" type="add:AddressType"/>
+                       <xsd:element name="billTo" type="add:AddressType"/>
+               </xsd:sequence>
+       </xsd:group>
+
+       <xsd:complexType name="ItemsType" mixed="true">
+               <xsd:sequence>
+                       <xsd:element name="item" minOccurs="0" 
maxOccurs="unbounded">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="productName" 
type="xsd:string"/>
+                                               <xsd:element name="quantity">
+                                                       <xsd:simpleType>
+                                                               
<xsd:restriction base="xsd:positiveInteger">
+                                                                       
<xsd:maxExclusive value="100"/>
+                                                               
</xsd:restriction>
+                                                       </xsd:simpleType>
+                                               </xsd:element>
+                                               <xsd:element name="USPrice" 
type="xsd:decimal"/>
+                                               <xsd:element ref="ipo:comment" 
minOccurs="0" maxOccurs="2"/>
+                                               <xsd:element name="shipDate" 
type="xsd:date" minOccurs="0"/>
+                                       </xsd:sequence>
+                                       <xsd:attributeGroup 
ref="ipo:ItemDelivery"/>
+                                       <!-- attributeGroup replaces individual 
declarations -->
+                               </xsd:complexType>
+                       </xsd:element>
+               </xsd:sequence>
+       </xsd:complexType>
+
+       <xsd:complexType name="USAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="add:AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="state" 
type="ipo:USState"/>
+                                       <xsd:element name="zip" 
type="xsd:positiveInteger"/>
+                               </xsd:sequence>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <xsd:complexType name="UKAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="add:AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="postcode" 
type="ipo:UKPostcode"/>
+                               </xsd:sequence>
+                               <xsd:attribute name="exportCode" 
type="xsd:positiveInteger" fixed="1"/>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <xsd:simpleType name="USState">
+               <xsd:restriction base="xsd:string">
+                       <xsd:enumeration value="AK"/>
+                       <xsd:enumeration value="AL"/>
+                       <xsd:enumeration value="AR"/>
+                       <xsd:enumeration value="CA"/>
+                       <xsd:enumeration value="PA"/>
+                       <!-- and so on ... -->
+               </xsd:restriction>
+       </xsd:simpleType>
+
+       <xsd:simpleType name="UKPostcode">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+>
+  <shipTo xsi:type="USAddress">
+    <add:name>Alice Smith</add:name>
+    <add:street>123 Maple Street</add:street>
+    <add:city>Mill Valley</add:city>
+    <state>CA</state>
+    <zip>90952</zip>
+  </shipTo>
+
+  <billTo xsi:type="USAddress">
+    <add:name>Robert Smith</add:name>
+    <add:street>8 Oak Avenue</add:street>
+    <add:city>Old Town</add:city>
+    <state>PA</state>
+    <zip>95819</zip>
+  </billTo>
+
+  <shipComment>Hurry, my sister loves Boeing!</shipComment>
+
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air" 
xmlns="http://www.example.com/IPO";>
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipComment> Use gold wrap if possible </shipComment>
+      <customerComment> Want this for the holidays! </customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+
+    <item partNum="833-AA" xmlns="http://www.example.com/IPO";>
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+
+</purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+>
+  <singleAddress exportCode="1" xsi:type="UKAddress">
+    <add:name>Helen Zoe</add:name>
+    <add:street>47 Eden Street</add:street>
+    <add:city>Cambridge</add:city>
+    <postcode>CB1 1JR</postcode>
+  </singleAddress>
+
+  <customerComment>I love Boeing too!</customerComment>
+
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air" 
xmlns="http://www.example.com/IPO";>
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+
+    <item partNum="833-AA" xmlns="http://www.example.com/IPO";>
+      <productName>833 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+
+</purchaseOrder>
+

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/itematt.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/itematt.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/itematt.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo5/itematt.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,23 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+
+       <xsd:attributeGroup name="ItemDelivery">
+               <xsd:attribute name="partNum" type="SKU" use="required"/>
+               <xsd:attribute name="weightKg" type="xsd:decimal"/>
+               <xsd:attribute name="shipBy">
+                       <xsd:simpleType>
+                               <xsd:restriction base="xsd:string">
+                                       <xsd:enumeration value="air"/>
+                                       <xsd:enumeration value="land"/>
+                                       <xsd:enumeration value="any"/>
+                               </xsd:restriction>
+                       </xsd:simpleType>
+               </xsd:attribute>
+       </xsd:attributeGroup>
+
+       <xsd:simpleType name="SKU">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/address.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/address.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/address.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/address.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,10 @@
+<schema xmlns="http://www.w3.org/2001/XMLSchema";
+ xmlns:add="http://www.example.com/add"; 
targetNamespace="http://www.example.com/add";
+ xmlns:ipo="http://www.example.com/IPO";
+ elementFormDefault="qualified"
+>
+       <import namespace="http://www.example.com/IPO"; 
schemaLocation="extend.xsd"/>
+
+       <element name="salutation" type="normalizedString" 
substitutionGroup="ipo:ExternFirstElement"/>
+
+</schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/extend.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/extend.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/extend.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/extend.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,7 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:ipo="http://www.example.com/IPO"; 
targetNamespace="http://www.example.com/IPO";
+ elementFormDefault="qualified"
+>
+       <xsd:element name="ExternFirstElement" type="xsd:string"/>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,113 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+ xmlns:ipo="http://www.example.com/IPO"; 
targetNamespace="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+ elementFormDefault="qualified"
+>
+       <xsd:include schemaLocation="extend.xsd"/>
+
+       <xsd:include schemaLocation="itematt.xsd"/>
+
+       <xsd:import namespace="http://www.example.com/add"; 
schemaLocation="address.xsd"/>
+
+       <xsd:element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
+
+       <xsd:element name="comment" type="xsd:string" abstract="true"/>
+
+       <xsd:element name="shipComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:element name="customerComment" type="xsd:normalizedString" 
substitutionGroup="ipo:comment"/>
+
+       <xsd:complexType name="PurchaseOrderType">
+               <xsd:sequence>
+                       <xsd:element ref="ipo:ExternFirstElement"/>
+                       <xsd:choice>
+                               <xsd:group ref="ipo:shipAndBill"/>
+                               <xsd:element name="singleAddress" 
type="ipo:AddressType"/>
+                       </xsd:choice>
+                       <xsd:element ref="ipo:comment" minOccurs="0"/>
+                       <xsd:element name="items" type="ipo:ItemsType"/>
+               </xsd:sequence>
+               <xsd:attribute name="orderDate" type="xsd:date"/>
+       </xsd:complexType>
+
+       <xsd:group name="shipAndBill">
+               <xsd:sequence>
+                       <xsd:element name="shipTo" type="ipo:AddressType"/>
+                       <xsd:element name="billTo" type="ipo:AddressType"/>
+               </xsd:sequence>
+       </xsd:group>
+
+       <xsd:element name="address" type="ipo:AddressType"/>
+
+       <xsd:complexType name="AddressType">
+               <xsd:sequence>
+                       <xsd:element name="name" type="xsd:string"/>
+                       <xsd:element name="street" type="xsd:string"/>
+                       <xsd:element name="city" type="xsd:string"/>
+               </xsd:sequence>
+       </xsd:complexType>
+
+       <xsd:complexType name="USAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="ipo:AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="state" 
type="ipo:USState"/>
+                                       <xsd:element name="zip" 
type="xsd:positiveInteger"/>
+                               </xsd:sequence>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <xsd:complexType name="UKAddress">
+               <xsd:complexContent>
+                       <xsd:extension base="ipo:AddressType">
+                               <xsd:sequence>
+                                       <xsd:element name="postcode" 
type="ipo:UKPostcode"/>
+                               </xsd:sequence>
+                               <xsd:attribute name="exportCode" 
type="xsd:positiveInteger" fixed="1"/>
+                       </xsd:extension>
+               </xsd:complexContent>
+       </xsd:complexType>
+
+       <xsd:simpleType name="USState">
+               <xsd:restriction base="xsd:string">
+                       <xsd:enumeration value="AK"/>
+                       <xsd:enumeration value="AL"/>
+                       <xsd:enumeration value="AR"/>
+                       <xsd:enumeration value="CA"/>
+                       <xsd:enumeration value="PA"/>
+                       <!-- and so on ... -->
+               </xsd:restriction>
+       </xsd:simpleType>
+
+       <xsd:simpleType name="UKPostcode">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="[A-Z]{2}\d\s\d[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+       <xsd:complexType name="ItemsType" mixed="true">
+               <xsd:sequence>
+                       <xsd:element name="item" minOccurs="0" 
maxOccurs="unbounded">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="productName" 
type="xsd:string"/>
+                                               <xsd:element name="quantity">
+                                                       <xsd:simpleType>
+                                                               
<xsd:restriction base="xsd:positiveInteger">
+                                                                       
<xsd:maxExclusive value="100"/>
+                                                               
</xsd:restriction>
+                                                       </xsd:simpleType>
+                                               </xsd:element>
+                                               <xsd:element name="USPrice" 
type="xsd:decimal"/>
+                                               <xsd:element ref="ipo:comment" 
minOccurs="0" maxOccurs="2"/>
+                                               <xsd:element name="shipDate" 
type="xsd:date" minOccurs="0"/>
+                                       </xsd:sequence>
+                                       <!-- attributeGroup replaces individual 
declarations -->
+                                       <xsd:attributeGroup 
ref="ipo:ItemDelivery"/>
+                               </xsd:complexType>
+                       </xsd:element>
+               </xsd:sequence>
+       </xsd:complexType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_1.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_1.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_1.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_1.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,45 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+>
+  <add:salutation>Ms.</add:salutation>
+  <shipTo xsi:type="USAddress">
+    <name>Alice Smith</name>
+    <street>123 Maple Street</street>
+    <city>Mill Valley</city>
+    <state>CA</state>
+    <zip>90952</zip>
+  </shipTo>
+
+  <billTo xsi:type="USAddress">
+    <name>Robert Smith</name>
+    <street>8 Oak Avenue</street>
+    <city>Old Town</city>
+    <state>PA</state>
+    <zip>95819</zip>
+  </billTo>
+
+  <shipComment>Hurry, my sister loves Boeing!</shipComment>
+
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipComment> Use gold wrap if possible </shipComment>
+      <customerComment> Want this for the holidays! </customerComment>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+
+    <item partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>2</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+
+</purchaseOrder>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_2.xml
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_2.xml?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_2.xml
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/ipo_2.xml
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<purchaseOrder orderDate="2002-10-20"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://www.example.com/IPO ipo.xsd"
+ xmlns="http://www.example.com/IPO";
+ xmlns:add="http://www.example.com/add";
+>
+  <add:salutation>Mrs.</add:salutation>
+  <singleAddress exportCode="1" xsi:type="UKAddress">
+    <name>Helen Zoe</name>
+    <street>47 Eden Street</street>
+    <city>Cambridge</city>
+    <postcode>CB1 1JR</postcode>
+  </singleAddress>
+
+  <customerComment>I love Boeing too!</customerComment>
+
+  <items>
+    <item partNum="777-BA" weightKg="4.5" shipBy="air">
+      <productName>777 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>99.95</USPrice>
+      <shipDate>1999-12-05</shipDate>
+    </item>
+
+    <item partNum="833-AA">
+      <productName>833 Model</productName>
+      <quantity>1</quantity>
+      <USPrice>199.95</USPrice>
+      <shipDate>2000-02-28</shipDate>
+    </item>
+  </items>
+
+</purchaseOrder>
+

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/itematt.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/itematt.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/itematt.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingData/ipo6/itematt.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,23 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+
+       <xsd:attributeGroup name="ItemDelivery">
+               <xsd:attribute name="partNum" type="SKU" use="required"/>
+               <xsd:attribute name="weightKg" type="xsd:decimal"/>
+               <xsd:attribute name="shipBy">
+                       <xsd:simpleType>
+                               <xsd:restriction base="xsd:string">
+                                       <xsd:enumeration value="air"/>
+                                       <xsd:enumeration value="land"/>
+                                       <xsd:enumeration value="any"/>
+                               </xsd:restriction>
+                       </xsd:simpleType>
+               </xsd:attribute>
+       </xsd:attributeGroup>
+
+       <xsd:simpleType name="SKU">
+               <xsd:restriction base="xsd:string">
+                       <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+</xsd:schema>

Added: 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/AnnotatedTSSchema.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/AnnotatedTSSchema.xsd?rev=1897497&view=auto
==============================================================================
--- 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/AnnotatedTSSchema.xsd
 (added)
+++ 
xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/boeingMeta/AnnotatedTSSchema.xsd
 Wed Jan 26 11:11:07 2022
@@ -0,0 +1,603 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+NOTE (JT): This schema differs from the official version adopted by the WG in 
that
+1) these attribute declarations in the xs:schema element:
+  xmlns:ts="http://www.w3.org/2003/XMLSchema/TestSuite/PLACEHOLDER";
+  targetNamespace="http://www.w3.org/2003/XMLSchema/TestSuite/PLACEHOLDER";
+are replaced by lines to enable the use of a local copy of this schema.
+2) The import declarations for XLink and XML namespace are given 
schemaLocation attributes.
+-->
+<!--
+NOTE (HST, 2006-11-16) changed to a proper namespace, superseding note
+(1) above
+-->
+<xs:schema xmlns:ts="http://www.w3.org/XML/2004/xml-schema-test-suite/"; 
targetNamespace="http://www.w3.org/XML/2004/xml-schema-test-suite/"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
+<!--
+  <xs:import namespace="http://www.w3.org/1999/xlink"/>
+
+  <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
+-->
+
+  <xs:import namespace="http://www.w3.org/1999/xlink"; 
schemaLocation="http://www.xbrl.org/2001/xlink.xsd"/>
+
+  <xs:import namespace="http://www.w3.org/XML/1998/namespace"; 
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+
+  <xs:annotation>
+    <xs:documentation>
+      This is the schema for the W3C XML Schema Test Suite collection
+      (TS), as approved by the W3C XML Schema Working Group on May 12,
+      2003. It defines the namespace:
+
+        http://www.w3.org/XML/2004/xml-schema-test-suite/
+
+      The TS consists of a set of test suites, each of which is identified
+      according to the version of W3C XML Schema it is designed to
+      test. Previous versions of test suites are archived and are also
+      available, identifiable by the version of the test suite itself.
+
+      This schema defines three separate but related document types for
+      the TS:
+
+        1) The testSuite element is the root element of a document
+           which defines a test suite as described above (e.g. the
+           2003-10-25 version of the test suite for version 1 of the
+           Recommendation).
+
+           The principal purpose of a testSuite document is the provision
+           of a set of links to documents defining the tests which
+           constitute the test suite.
+
+           Files containing testSuite documents have the filename suffix
+           ".suite".
+
+        2) The testSet element is the root element of a document which
+           describes a set of tests. Each testSuite consists primarily
+           of a set of links to testSet documents.  The scope of the
+           testSet is typically determined by the contributor of the
+           tests which make up the testSet: it is the unit in which
+           tests are contributed to the collection.
+
+           Files containing testSet documents have the filename suffix
+           ".testSet".
+
+        3) The testSuiteResults element is the root element of a
+           document describing the results of testing a processor
+           against a testSuite.
+
+           Files containing testSuiteResults documents have the filename
+           suffix ".results".
+    </xs:documentation>
+  </xs:annotation>
+
+
+  <xs:element name="testSuite">
+    <xs:annotation>
+      <xs:documentation>
+        The root element of a document describing all tests for a
+        particular version of W3C XML Schema, for the version of the TS
+        defined by the document.
+
+        The element has three attributes, each of which is required:
+
+          name - the name of this test suite.
+
+          releaseDate - the date on which this test suite was
+                        released. This value serves to identify the
+                        version of the test suite.
+
+          schemaVersion - the version of W3C XML Schema for which the 
+                          tests are designed.
+
+        Two elements may optionally be present:
+
+          annotation - at most one instance of general documentation.
+
+          testSetRef - a set of references to the sets of tests which 
+                       make up this test suite.
+
+                       The test sets referenced are uniquely named.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:annotation" minOccurs="0"/>
+        <xs:element ref="ts:testSetRef" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="name" use="required" type="xs:Name"/>
+      <xs:attribute name="releaseDate" use="required" type="xs:date"/>
+      <xs:attribute name="schemaVersion" use="required" type="xs:string"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="testSetRef" type="ts:ref"/>
+
+
+  <xs:element name="testSet">
+    <xs:annotation>
+      <xs:documentation>
+        The root element of a document describing a set of tests,
+        normally from a single contributor.  A contributor may supply
+        any number of testSet files.
+
+        The element has two attributes, each of which is required:
+
+          contributor - the name of the contributor of this testSet.
+
+          name - the name of this testSet, which must be unique within
+                 the enclosing testSuite.
+
+        Two elements may optionally be present:
+
+          annotation - at most one instance of general documentation.
+
+          testGroup - a set of testGroup elements, each of which defines a
+                      group of closely related tests.
+
+                      The testGroup elements must be uniquely named.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:annotation" minOccurs="0"/>
+        <xs:element ref="ts:testGroup" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="contributor" use="required" type="xs:string"/>
+      <xs:attribute name="name" use="required" type="xs:Name"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+    <xs:unique name="uniqueGroupName">
+      <xs:annotation>
+        <xs:documentation>
+          Each test group within a test set must have a unique name.
+        </xs:documentation>
+      </xs:annotation>
+      <xs:selector xpath="ts:testGroup"/>
+      <xs:field xpath="@name"/>
+    </xs:unique>
+  </xs:element>
+
+
+  <xs:element name="testGroup">
+    <xs:annotation>
+      <xs:documentation>
+        This element groups a collection of closely related tests. In the 
+        case where a schema is present, this element groups the schema with a
+        set of instance documents which should be validated against the
+        schema.
+
+        It has one attribute, which is required:
+
+          name - an identifier for the testGroup which is unique within
+                 the enclosing testSet.
+
+        Four elements may optionally be present:
+
+          annotation - at most one instance of general documentation.
+
+          documentationReference - any number of references to external
+                                   documentation upon which the test
+                                   is based, e.g. links to relevant
+                                   sections of the Recommendation,
+                                   to the Errata, etc.
+
+          schemaTest - any number of elements, each of which holds
+                       information on a single schema document.
+
+                       When more than one schema document is present,
+                       a single schema is constructed from the set
+                       (or from other schemas via import).
+
+                       Schema documents may be omitted, for the purpose
+                       of testing a processor's validation of an instance
+                       containing only the built-in datatypes defined in
+                       the Recommendation.
+
+          instanceTest - any number of elements, each of which holds
+                         information on a single instance document to
+                         be validated against the included schema.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:annotation" minOccurs="0"/>
+        <xs:element ref="ts:documentationReference" minOccurs="0" 
maxOccurs="unbounded"/>
+        <xs:element ref="ts:schemaTest" minOccurs="0"/>
+        <xs:element ref="ts:instanceTest" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="name" use="required" type="xs:Name"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+    <xs:unique name="uniqueTestName">
+      <xs:annotation>
+        <xs:documentation>
+          Each test within a test group must have a unique name.
+        </xs:documentation>
+      </xs:annotation>
+      <xs:selector xpath="ts:schemaTest|ts:instanceTest"/>
+      <xs:field xpath="@name"/>
+    </xs:unique>
+  </xs:element>
+
+
+  <xs:element name="schemaTest">
+    <xs:annotation>
+      <xs:documentation>
+        This element groups together information about the schema for
+        a particular test condition.
+
+        It has one attribute, which is required:
+
+          name - the name of the schema, which must be unique within
+                 the enclosing testGroup (i.e. it must differ from the
+                 name(s) of any associated instanceTest elements).
+
+        One element is required:
+
+          schemaDocument - at least one link to a file containing a
+                           schema document. The schema for the test is 
+                           constructed from the set (or from other 
+                           schemas via import).
+
+        Three elements may optionally be present:
+
+          expected - the expected validation outcome for the schema
+                     contained in the schema document(s).
+
+          current - the current status of this test in the TS (an
+                    indication of the test's accuracy in testing the
+                    feature it is intended to test).
+
+          prior - the history of any changes in the status of this test.
+
+        The elements "expected" and "current" may be absent when tests
+        are contributed, but will always be present for tests included in 
+        the TS.
+
+        All but the first status entry must have a buzilla cross-reference
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:schemaDocument" maxOccurs="unbounded"/>
+        <xs:element ref="ts:expected" minOccurs="0"/>
+        <xs:element ref="ts:current" minOccurs="0"/>
+        <xs:element ref="ts:prior" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="name" use="required" type="xs:Name"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="instanceTest">
+    <xs:annotation>
+      <xs:documentation>
+        This element groups together information about an instance
+        document which should be validated against the schema referenced
+        in the enclosing testGroup.
+
+        It has one attribute, which is required:
+
+          name - the name of the instance document, which must be unique
+                 within the enclosing testGroup (i.e. it must differ
+                 from the name of any associated schemaTest elements).
+
+        One element is required:
+
+          instanceDocument - a link to a file containing the instance
+                             document.
+
+        Three elements may optionally be present:
+
+          expected - the expected validation outcome for the instance
+                     document.
+
+          current - the current status of this test in the TS (an
+                    indication of the test's accuracy in testing the
+                    feature it is intended to test).
+
+          prior - the history of any changes in the status of this test.
+
+        The elements "expected" and "current" may be absent when tests
+        are contributed, but will always be present for tests included in 
+        the TS.
+
+        Note: per section 5.2 "Assessing Schema-Validity" of the
+        Recommendation "XML Schema Part 1: Structures", validation may
+        be started in a variety of ways.  For the purposes of the TS,
+        only the third method shall be used:
+
+          "The processor starts from Schema-Validity Assessment (Element)
+          (3.3.4) with no stipulated declaration or definition".
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:instanceDocument"/>
+        <xs:element ref="ts:expected" minOccurs="0"/>
+        <xs:element ref="ts:current" minOccurs="0"/>
+        <xs:element ref="ts:prior" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="name" use="required" type="xs:Name"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="schemaDocument" type="ts:ref"/>
+  <xs:element name="instanceDocument" type="ts:ref"/>
+
+
+  <xs:element name="current" type="ts:statusEntry">
+    <xs:annotation>
+      <xs:documentation>
+        The current status of a test in the TS.
+        
+        This element has two attributes, both of which are required:
+
+          status - the status of the test. One of "accepted", "stable",
+                   "disputed-test" or "disputed-spec" (see the TS website
+                   for an explanation of these values).
+
+          date - the date on which the value in the status attribute
+                 was attained.
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+
+  <xs:element name="prior" type="ts:statusEntry">
+    <xs:annotation>
+      <xs:documentation>
+        A former status of a test in the TS.
+
+        This element has two attributes, both of which are required:
+
+          status - the former status of the test. One of "accepted",
+                   "stable", "disputed-test" or "disputed-spec" (see
+                   the TS website for an explanation of these values).
+
+          date - the date on which the value in the status attribute
+                 was attained.
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+
+  <xs:complexType name="statusEntry">
+    <xs:attribute name="status" use="required" type="ts:status"/>
+    <xs:attribute name="date" use="required" type="xs:date"/>
+    <xs:attribute name="bugzilla" type="ts:bugURI"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+
+  <xs:simpleType name="status">
+    <xs:restriction base="xs:token">
+      <xs:enumeration value="accepted"/>
+      <xs:enumeration value="stable"/>
+      <xs:enumeration value="queried"/>
+      <xs:enumeration value="disputed-test"/>
+      <xs:enumeration value="disputed-spec"/>
+    </xs:restriction>
+  </xs:simpleType>
+ 
+ <xs:simpleType name="bugURI">
+  <xs:restriction base="xs:anyURI">
+   <xs:pattern 
value="http://www\.w3\.org/Bugs/Public/show_bug\.cgi\?id=[0-9]*"/>
+  </xs:restriction>
+ </xs:simpleType>
+
+
+  <xs:element name="expected">
+    <xs:annotation>
+      <xs:documentation>
+        The expected validation outcome of a test in the TS.
+        
+        This element has one attribute, which is required:
+        
+          validity - the expected validity of the test. One of "valid",
+                     "invalid" or "notKnown".
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:attribute name="validity" use="required" type="ts:validityOutcome"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:simpleType name="validityOutcome">
+    <xs:restriction base="xs:token">
+      <xs:enumeration value="valid"/>
+      <xs:enumeration value="invalid"/>
+      <xs:enumeration value="notKnown"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+
+  <xs:element name="testSuiteResults">
+    <xs:annotation>
+      <xs:documentation>
+        This is the root element of a document containing a test result
+        report. The report takes the form of a set of test results 
+        returned by a processor/validator when run against the TS.
+
+        It has three required attributes:
+
+          suite - the name of the test suite to which these results
+                  correspond.  This should be the value of the name
+                  attribute of the testSuite element at the root of
+                  the test suite document describing the tests to which
+                  these results correspond.
+
+          processor - some identifying information for the processor/
+                      validator which produced the reported results. The
+                      value of this attribute is left to the discretion
+                      of the reporter.
+
+          submitDate - the date on which these results were submitted
+                       to the TS Task Force.
+
+        The element also has one optional attribute:
+
+          publicationPermission - the degree to which the result reporter
+                                  authorizes the W3C to disseminate the
+                                  reported results. One of "W3C members"
+                                  or "public" (see the TS website for an
+                                  explanation of these values). If this
+                                  attribute is absent, no permission to
+                                  publish is granted.
+
+        This element has two optional elements:
+
+          annotation - at most one instance of more detailed
+                       (ts:documentation) or structured (ts:appinfo)
+                       information or commentary regarding the enclosed
+                       test results.
+
+          testResult - any number of reports of the results of individual
+                       tests. Any results may be omitted, particularly
+                       those for tests of features for which the processor
+                       claims no support.
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:annotation" minOccurs="0"/>
+        <xs:element ref="ts:testResult" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+      <xs:attribute name="suite" use="required" type="xs:Name"/>
+      <xs:attribute name="processor" use="required" type="xs:string"/>
+      <xs:attribute name="submitDate" use="required" type="xs:date"/>
+      <xs:attribute name="publicationPermission">
+        <xs:simpleType>
+          <xs:restriction base="xs:string">
+            <xs:enumeration value="W3C members"/>
+            <xs:enumeration value="public"/>
+          </xs:restriction>
+        </xs:simpleType>
+      </xs:attribute>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="testResult">
+    <xs:annotation>
+      <xs:documentation>
+        The result of an individual instance test or a schema test.
+        
+        This element has four required attributes:
+        
+          validity - the validition outcome of the test. One of "valid",
+                     "invalid" or "notKnown".
+
+          set - the value of the "name" attribute of the test set to
+                which the test belongs.
+
+          group - the value of the "name" attribute of the test group
+                  to which the test belongs.
+
+          test - the value of the "name" attribute of the schema test
+                 or instance test, the validation outcome of which this
+                 result reports.
+
+            NOTE: The "set", "group" and "test" attributes are used to
+            uniquely identify the test within the TS for which this
+            result reports the validation outcome.  Each matches the
+            "name" attribute of the respective element in the test suite.
+
+        This element has one optional attribute:
+        
+          normalizedLoad - a relative load value, intended as an indicator
+                           of the resource requirements of an individual
+                           test. Values may be based on processing time,
+                           memory usage or a combination of the two.
+                           Values should be in the vicinity of 1.0.
+
+        The element has one optional element:
+        
+          annotation - at most one instance of more detailed
+                       (ts:documentation) or structured (ts:appinfo)
+                       information or commentary regarding the individual
+                       test result. Reporters are encouraged to use
+                       annotation/appinfo to report more detailed outcome
+                       information, such as error and warning messages.
+     </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="ts:annotation" minOccurs="0"/>
+      </xs:sequence>
+      <xs:attribute name="validity" use="required" type="ts:validityOutcome"/>
+      <xs:attribute name="set" use="required" type="xs:Name"/>
+      <xs:attribute name="group" use="required" type="xs:Name"/>
+      <xs:attribute name="test" use="required" type="xs:Name"/>
+      <xs:attribute name="normalizedLoad" type="xs:decimal"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:complexType name="ref">
+    <xs:attribute ref="xlink:type" default="locator"/>
+    <xs:attribute ref="xlink:href"/>
+    <xs:anyAttribute namespace="##other" processContents="lax"/>
+  </xs:complexType>
+
+
+  <xs:element name="documentationReference" type="ts:ref">
+    <xs:annotation>
+      <xs:documentation>
+        A link to documentation relevant to a test, such as a link to the
+        Recommendation, an erratum, an archived email discussion, etc.
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+
+  <xs:element name="annotation">
+    <xs:annotation>
+      <xs:documentation>
+        This is an exact copy of the annotation element defined in the Schema
+        Recommendation. It is duplicated here in order to replicate the 
+        functionality of the xs:annotation element and because the Schema for
+        Schemas cannot be imported. 
+      </xs:documentation>
+    </xs:annotation>
+    <xs:complexType>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="ts:appinfo"/>
+        <xs:element ref="ts:documentation"/>
+      </xs:choice>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+
+  <xs:element name="appinfo">
+    <xs:complexType mixed="true">
+      <xs:sequence maxOccurs="unbounded" minOccurs="0">
+        <xs:any processContents="lax"/>
+      </xs:sequence>
+      <xs:attribute name="source" type="xs:anyURI"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="documentation">
+    <xs:complexType mixed="true">
+      <xs:sequence maxOccurs="unbounded" minOccurs="0">
+        <xs:any processContents="lax"/>
+      </xs:sequence>
+      <xs:attribute name="source" type="xs:anyURI"/>
+      <xs:attribute ref="xml:lang"/>
+      <xs:anyAttribute namespace="##other" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to