lazarus-ccr/wst/trunk/tests/test_suite/files/embedded_unbounded_choice.xsd
2016-05-04 12:32:49 +00:00

40 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:n="urn:wst-test"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:wst-test">
<xs:element name="EntityContainer">
<xs:complexType>
<xs:sequence>
<xs:element name="Documentation" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="FunctionImport">
<xs:complexType>
<xs:sequence>
<xs:element name="Documentation" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ReturnType" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Parameter" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntitySet">
<xs:complexType>
<xs:sequence>
<xs:element name="Documentation" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ValueAnnotation" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="TypeAnnotation" type="xs:integer" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>