view test/javax/xml/jaxp/unittest/validation/idI009.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/idI009.xsd@29ba77ad2a87
children
line wrap: on
line source

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpns="xpns.org" xmlns:xpns1="xpns1.org" xmlns:xpns2="xpns2.org" xmlns:imp="importNS">
	<xsd:import namespace="importNS" schemaLocation="idIimp.xsd"/>
	<xsd:import namespace="xpns.org" schemaLocation="idIxpns.xsd"/>
	<xsd:import namespace="xpns1.org" schemaLocation="idIxpns1.xsd"/>
	<xsd:element name="root">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="tid" maxOccurs="unbounded"/>
				<xsd:element ref="imp:iid" maxOccurs="unbounded"/>
				<xsd:element ref="imp:iid1" maxOccurs="unbounded"/>
				<xsd:element ref="xpns:xiid" maxOccurs="unbounded"/>
				<xsd:element ref="xpns1:xiid" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="val" type="xsd:string"/>
		</xsd:complexType>
		<xsd:unique id="foo123" name="uid">
			<xsd:selector xpath="child::imp:iid"/>
			<xsd:field xpath="@val"/>
		</xsd:unique>
	</xsd:element>
	<xsd:element name="tid">
		<xsd:complexType>
			<xsd:attribute name="val" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>