source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-1659/test-2/test-users.xsd

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

Add original Xerces tests and samples directories

File size: 657 bytes
Line 
1<?xml version="1.0" ?>
2
3<xsd:schema xmlns:xsd=        "http://www.w3.org/2001/XMLSchema"
4            xml:lang=         "en">
5
6<xsd:include schemaLocation="test-user-config.xsd"/>
7
8<xsd:element name="UserDatabase" type="UserDatabase_t">
9
10<!-- A users dialled number must be unique in the xml instance file. -->
11   <xsd:unique name="UniqueNumber">
12      <xsd:selector xpath="TestUserConfig"/>
13      <xsd:field xpath="@Number"/>
14   </xsd:unique>
15
16</xsd:element>
17
18
19<xsd:complexType name="UserDatabase_t">
20   <xsd:sequence>
21      <xsd:element ref="TestUserConfig" minOccurs="0" maxOccurs="unbounded"/>       
22   </xsd:sequence>
23</xsd:complexType>
24
25
26</xsd:schema>
Note: See TracBrowser for help on using the repository browser.