tests/attr/validation/validation-16.xsd
changeset 1793 6e5f48b3d36d
child 1797 1671206bfbe0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/attr/validation/validation-16.xsd	Thu Dec 21 11:02:56 2017 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ns.example.com/val16/" 
+  xmlns:v16="http://ns.example.com/val16/"
+  elementFormDefault="qualified">
+  
+  <xs:element name="doc">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="v16:test" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+<xs:element name="test">
+  <xs:complexType>
+    <xs:attribute name="id" type="xs:ID"></xs:attribute>
+  </xs:complexType>
+</xs:element>
+
+</xs:schema>