<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
	<xsd:element name="doc">
		<xsd:complexType>
			<xsd:choice>
				<xsd:sequence minOccurs="1" maxOccurs="1">
					<xsd:choice>
						<xsd:element name="foo"/>
					</xsd:choice>
					<xsd:choice>
						<xsd:element name="bar"/>
					</xsd:choice>
				</xsd:sequence>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
