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

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
  xmlns="IdConstrDefs/targetNS"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  targetNamespace="IdConstrDefs/targetNS">

  <xsd:include schemaLocation="targetNS00101m2a.xsd"/>

  <xsd:element name="root">
      <xsd:complexType>
          <xsd:sequence maxOccurs="unbounded">
              <xsd:element name="person"/>
          </xsd:sequence>
      </xsd:complexType>
      <xsd:key name="KEY">
          <xsd:selector xpath="./person"/>
          <xsd:field xpath="."/>
      </xsd:key>
      <xsd:keyref name="KEYREF" refer="KEY">
          <xsd:selector xpath="./person"/>
          <xsd:field xpath="@parent"/>
      </xsd:keyref>
  </xsd:element>

</xsd:schema>