view test/javax/xml/jaxp/unittest/validation/Bug4986844.xsd @ 779:2b61bfcaa586

8132660: Change jaxp unit test package name to be different with jaxp api Reviewed-by: joehw Contributed-by: frank.yuan@oracle.com
author joehw
date Mon, 10 Aug 2015 09:52:32 -0700
parents test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4986844.xsd@29ba77ad2a87
children
line wrap: on
line source

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
            targetNamespace="http://xsdtesting" 
            xmlns:x="http://xsdtesting">
	<xsd:complexType name="B">
		<xsd:all>
			<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="e2" minOccurs="1" maxOccurs="1"/>
		</xsd:all>
	</xsd:complexType>
	<xsd:complexType name="R">
		<xsd:complexContent>
			<xsd:restriction base="x:B">
				<xsd:sequence>
					<xsd:element name="e1" minOccurs="1" maxOccurs="1"/>
					<xsd:element name="e2" minOccurs="1" maxOccurs="2"/>
				</xsd:sequence>
			</xsd:restriction>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="doc">
		<xsd:complexType>
			<xsd:choice>
				<xsd:element name="elem" type="x:R"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>