1
<?xml version="1.0" encoding="UTF-8"?>
3
This test handles nested model groups with minOccurs=0 and maxOccurs=unbounded.
5
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.netallied.de/xsd2cppsax/tests" xmlns:tns="http://www.netallied.de/xsd2cppsax/tests" elementFormDefault="qualified">
7
<element name="root" type="tns:RootType"></element>
9
<complexType name="RootType">
11
<element name="choiceUnbounded" minOccurs="1" maxOccurs="1" type="tns:choiceType" />
12
<element name="sequenceUnbounded" minOccurs="1" maxOccurs="1" type="tns:sequenceType" />
16
<complexType name="choiceType">
18
<element name="seqElem" minOccurs="0" maxOccurs="unbounded" />
20
<choice minOccurs="0" maxOccurs="unbounded">
21
<element name="nestedChoiceElem1" />
22
<element name="nestedChoiceElem2" />
27
<complexType name="sequenceType">
29
<element name="choiceElem" minOccurs="0" maxOccurs="unbounded"/>
31
<sequence minOccurs="0" maxOccurs="unbounded">
32
<element name="nestedSeqElem1" />
33
<element name="nestedSeqElem2" />