summaryrefslogtreecommitdiff
path: root/xsd/tests/cxx/parser/name-clash/inheritance/test.xsd
blob: 62a782e4cb844504558ac42d5ac5e2547faf0fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <complexType name="base">
    <sequence>
      <element name="e" type="string"/>
    </sequence>
  </complexType>

  <complexType name="derived">
    <complexContent>
      <extension base="t:base">
        <sequence>
          <element name="e" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

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

</schema>