source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-1714/schema.xsd @ 2726

Last change on this file since 2726 was 2726, checked in by cameron, 7 years ago

Add original Xerces tests and samples directories

File size: 862 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
4  <xs:complexType name="A">
5    <xs:sequence>
6      <xs:element name="elem" type="B" minOccurs="0"/>
7    </xs:sequence>
8    <xs:attribute name="foo"/>
9  </xs:complexType>
10
11  <xs:complexType name="B">
12    <xs:sequence>
13      <xs:element name="elem" type="C" minOccurs="0"/>
14    </xs:sequence>
15  </xs:complexType>
16
17  <xs:complexType name="C">
18    <xs:complexContent>
19      <xs:restriction base="D">
20        <xs:attribute name="foo"/>
21      </xs:restriction>
22    </xs:complexContent>
23  </xs:complexType>
24
25  <xs:complexType name="D">
26    <xs:complexContent>
27      <xs:restriction base="A">
28        <xs:attribute name="foo"/>
29      </xs:restriction>
30    </xs:complexContent>
31  </xs:complexType>
32
33</xs:schema>
Note: See TracBrowser for help on using the repository browser.