| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- Copyright 2004 The Apache Software Foundation | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. --> | |
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
| targetNamespace="http://xmlobject/substgroup" | |
| xmlns:tns="http://xmlobject/substgroup"> | |
| <xsd:complexType name="OrderItem"> | |
| <xsd:sequence> | |
| <xsd:element ref="tns:item"/> | |
| </xsd:sequence> | |
| </xsd:complexType> | |
| <xsd:element name="item" type="tns:ItemType"/> | |
| <xsd:complexType name="ItemType"> | |
| <xsd:sequence> | |
| <xsd:element name="sku" type="xsd:integer"/> | |
| <xsd:element name="name" type="xsd:string"/> | |
| </xsd:sequence> | |
| </xsd:complexType> | |
| <xsd:element name="beanBag" type="tns:BeanBagType" | |
| substitutionGroup="tns:item"/> | |
| <xsd:complexType name="BeanBagType"> | |
| <xsd:complexContent> | |
| <xsd:extension base="tns:ItemType"> | |
| <xsd:sequence> | |
| <xsd:element name="size" type="tns:BeanBagSizeType"/> | |
| </xsd:sequence> | |
| </xsd:extension> | |
| </xsd:complexContent> | |
| </xsd:complexType> | |
| <xsd:element name="chair" substitutionGroup="tns:item"/> | |
| <xsd:element name="blockedchair" type="tns:ItemType" block="substitution"/> | |
| <xsd:element name="blockedItem" substitutionGroup="tns:blockedchair" /> | |
| <xsd:element name="notachair" type="tns:ItemType"/> | |
| <xsd:element name="footstool" type="xsd:string"/> | |
| <xsd:complexType name="BeanBagSizeType"> | |
| <xsd:simpleContent> | |
| <xsd:extension base="xsd:string"> | |
| <xsd:attribute name="color" type="xsd:token"/> | |
| </xsd:extension> | |
| </xsd:simpleContent> | |
| </xsd:complexType> | |
| <xs:element name="string" type="xs:string"/> | |
| <xs:element name="stringSub" substitutionGroup="tns:string"/> | |
| <xs:complexType name="info"> | |
| <xs:sequence> | |
| <xs:element ref="tns:string"/> | |
| </xs:sequence> | |
| </xs:complexType> | |
| <xs:element name="customer" type="tns:info"/> | |
| <xs:element name="employee" substitutionGroup="tns:customer"/> | |
| <xs:element name="blockedString" type="xs:string" block="substitution"/> | |
| <xs:element name="blockedStringSub" substitutionGroup="tns:blockedString"/> | |
| <xs:complexType name="blockedInfo"> | |
| <xs:sequence> | |
| <xs:element ref="tns:blockedString"/> | |
| </xs:sequence> | |
| </xs:complexType> | |
| <xs:element name="blockedCustomer" type="tns:blockedInfo" block="substitution"/> | |
| <xs:element name="blockedEmployee" substitutionGroup="tns:blockedCustomer"/> | |
| </xsd:schema> | |