<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:element name="root">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="uid" maxOccurs="unbounded"/>
				<xsd:element ref="kid" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
		<xsd:keyref id="foo123" name="kruid" refer="kuid">
			<xsd:selector xpath=".//uid"/>
			<xsd:field xpath="@val"/>
		</xsd:keyref>
		<xsd:key id="foo1233" name="kuid">
			<xsd:selector xpath=".//kid"/>
			<xsd:field xpath="@val"/>
		</xsd:key>
	</xsd:element>
	<xsd:element name="uid">
		<xsd:complexType>
			<xsd:attribute name="val" type="xsd:string" default="test"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="kid">
		<xsd:complexType>
			<xsd:attribute name="val" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
