Martin Buchholz 24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00

42 lines
1.1 KiB
XML

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="itemList" type="itemListType">
<xsd:unique name="itemAttr">
<xsd:selector xpath="item"/>
<xsd:field xpath="@uniqueAttr"/>
</xsd:unique>
<xsd:key name="itemValueKey">
<xsd:selector xpath="item"/>
<xsd:field xpath="."/>
</xsd:key>
<xsd:keyref name="itemKeyRef" refer="itemValueKey">
<xsd:selector xpath="itemRef"/>
<xsd:field xpath="."/>
</xsd:keyref>
</xsd:element>
<xsd:element name="item" type="itemType"/>
<xsd:attribute name="uniqueAttr" type="xsd:string"/>
<xsd:attribute name="unparsedEntityAttr" type="xsd:ENTITIES"/>
<xsd:complexType name="itemListType">
<xsd:sequence>
<xsd:element ref="item" maxOccurs="unbounded"/>
<xsd:element name="itemRef" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="itemType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute ref="uniqueAttr" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>