source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-1878/schema.xsd @ 2726

Last change on this file since 2726 was 2726, checked in by cameron, 7 years ago

Add original Xerces tests and samples directories

File size: 876 bytes
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3    <xsd:element name="root">
4        <xsd:complexType>
5            <xsd:sequence minOccurs="1" maxOccurs="unbounded">
6                <xsd:element name="item">
7                    <xsd:complexType>
8                        <xsd:attribute name="v1" type="xsd:decimal"/>
9                        <xsd:attribute name="v2" type="xsd:string"/>
10                        <xsd:attribute name="v3" type="xsd:time"/>
11                    </xsd:complexType>
12                </xsd:element>
13            </xsd:sequence>
14        </xsd:complexType>
15        <xsd:unique name="uniqueCons">
16            <xsd:selector xpath="item"/>
17            <xsd:field xpath="@v1"/>
18            <xsd:field xpath="@v2"/>
19            <xsd:field xpath="@v3"/>
20        </xsd:unique>
21    </xsd:element>
22</xsd:schema>
Note: See TracBrowser for help on using the repository browser.