| <?xml version="1.0" encoding="UTF-8"?> |
| <xsd:schema targetNamespace="http://www.example.org/Main" |
| xmlns:tns01="http://www.example.org/Main" |
| xmlns:tns02="http://www.example.org/Main" |
| xmlns:tns03="http://www.example.org/Main" |
| xmlns:tns04="http://www.example.org/Main" |
| xmlns:tns05="http://www.example.org/Main" |
| xmlns:tns06="http://www.example.org/Main" |
| xmlns:tns07="http://www.example.org/Main" |
| xmlns:tns08="http://www.example.org/Main" |
| xmlns:tns09="http://www.example.org/Main" |
| xmlns:tns10="http://www.example.org/Main" |
| xmlns:tns11="http://www.example.org/Main" |
| xmlns:tns12="http://www.example.org/Main" |
| xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| |
| <xsd:element name="MainElem001" type="xsd:string"></xsd:element> |
| |
| <xsd:complexType name="MainCT001"> |
| <xsd:sequence> |
| <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> |
| <xsd:element ref="tns01:MainElem001"></xsd:element> |
| <xsd:any></xsd:any> |
| </xsd:sequence> |
| </xsd:complexType> |
| |
| <xsd:complexType name="MainCT002"> |
| <xsd:complexContent> |
| <xsd:extension base="tns02:MainCT001"></xsd:extension> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:complexType name="MainCT003"> |
| <xsd:complexContent> |
| <xsd:restriction base="tns03:MainCT001"></xsd:restriction> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:complexType name="MainCT004"> |
| <xsd:simpleContent> |
| <xsd:extension base="xsd:string"> |
| <xsd:annotation> |
| <xsd:appinfo></xsd:appinfo> |
| </xsd:annotation> |
| <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> |
| <xsd:attributeGroup ref="tns04:MainAttrGr001"></xsd:attributeGroup> |
| <xsd:anyAttribute></xsd:anyAttribute> |
| </xsd:extension> |
| </xsd:simpleContent> |
| </xsd:complexType> |
| |
| <xsd:simpleType name="MainST001"> |
| <xsd:restriction base="xsd:string"> |
| <xsd:enumeration value="enum1"></xsd:enumeration> |
| </xsd:restriction> |
| </xsd:simpleType> |
| |
| <xsd:simpleType name="MainST002"> |
| <xsd:restriction base="tns05:MainST001"></xsd:restriction> |
| </xsd:simpleType> |
| |
| <xsd:simpleType name="MainST003"> |
| <xsd:list itemType="tns06:MainST001"></xsd:list> |
| </xsd:simpleType> |
| |
| <xsd:simpleType name="MainST004"> |
| <xsd:list> |
| <xsd:simpleType> |
| <xsd:restriction base="tns07:MainST001"></xsd:restriction> |
| </xsd:simpleType> |
| </xsd:list> |
| </xsd:simpleType> |
| |
| |
| <xsd:simpleType name="MainST005"> |
| <xsd:union memberTypes="tns08:MainST001 tns09:MainST002"></xsd:union> |
| </xsd:simpleType> |
| |
| <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> |
| |
| <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> |
| |
| <xsd:attributeGroup name="MainAttrGr001"> |
| <xsd:attribute ref="tns10:MainAttr001"></xsd:attribute> |
| </xsd:attributeGroup> |
| |
| <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> |
| |
| <xsd:group name="MainGroup001"> |
| <xsd:sequence> |
| <xsd:group ref="tns11:MainGroup002"></xsd:group> |
| </xsd:sequence> |
| </xsd:group> |
| |
| <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="tns12:MainElem001"></xsd:element> |
| |
| <xsd:group name="MainGroup002"> |
| <xsd:sequence> |
| <xsd:element name="e1" type="xsd:string"> |
| <xsd:annotation> |
| <xsd:appinfo> |
| <p:ImpElem1></p:ImpElem1> |
| </xsd:appinfo> |
| </xsd:annotation> |
| </xsd:element> |
| </xsd:sequence> |
| </xsd:group> |
| |
| </xsd:schema> |