1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/test/schemas/bug322411_1.xsd
Kasimier T. Buchcik bf442eb243 Added regression tests for the latest IDC and xs:decimal bugs.
* test/schemas/decimal* test/schemas/bug322411*: Added
  regression tests for the latest IDC and xs:decimal bugs.
2005-11-30 11:24:18 +00:00

36 lines
1.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="items">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element ref="items" minOccurs="0" maxOccurs="2"/>
</xsd:sequence>
</xsd:complexType>
<xsd:unique name="ItemUnique">
<xsd:selector xpath="item"/>
<xsd:field xpath="."/>
</xsd:unique>
</xsd:element>
<xsd:element name="ELEMENTS">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ELEMENT">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="items"/>
<xsd:element name="ref" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:keyref name="ItemRef" refer="ItemUnique">
<xsd:selector xpath="ref"/>
<xsd:field xpath="."/>
</xsd:keyref>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>