summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/sequence/test-002.xml
blob: be25fcf35f5f6be1cbf0a8663d357623c27a5d61 (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
<t:root xmlns:t="test"
        xmlns:o="other"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="test test.xsd">

  <!-- fail maxOccurs="2" -->
  <sequence>
    <c>c</c>
    <d>d</d>
    <t:any>any</t:any>
    <f>f</f>
    <e>e</e>

    <c>c</c>
    <d>d</d>
    <t:any>any</t:any>
    <f>f</f>
    <e>e</e>

    <c>c</c>
    <d>d</d>
    <t:any>any</t:any>
    <f>f</f>
    <e>e</e>
  </sequence>

</t:root>