aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/list/test.xsd
blob: d864b12761c0591aa40143605a99686851dbde75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <simpleType name="int-list">
    <list itemType="int"/>
  </simpleType>

  <simpleType name="qname-list">
    <list itemType="QName"/>
  </simpleType>

  <simpleType name="string-list">
    <list itemType="string"/>
  </simpleType>

  <complexType name="string-list-lang">
    <simpleContent>
      <extension base="t:string-list">
        <attribute name="lang" type="string"/>
      </extension>
    </simpleContent>
  </complexType>

  <complexType name="type">
    <sequence>
      <element name="int-list" type="t:int-list"/>
      <element name="qname-list" type="t:qname-list"/>
      <element name="string-list" type="t:string-list"/>
      <element name="string-list-lang" type="t:string-list-lang"/>
    </sequence>
  </complexType>

  <element name="root" type="t:type"/>

</schema>