source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-1659/test-1/test-users.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: 777 bytes
RevLine 
[2726]1<?xml version="1.0" ?>
2
3<xsd:schema xmlns:xsd=        "http://www.w3.org/2001/XMLSchema"
4            targetNamespace=  "http://www.dave.com/Base"
5            xmlns:b=          "http://www.dave.com/Base"
6            xml:lang=         "en">
7
8<xsd:include schemaLocation="test-user-config.xsd"/>
9
10<xsd:element name="UserDatabase" type="b:UserDatabase_t">
11
12<!-- A users dialled number must be unique in the xml instance file. -->
13   <xsd:unique name="UniqueNumber">
14      <xsd:selector xpath="TestUserConfig"/>
15      <xsd:field xpath="@Number"/>
16   </xsd:unique>
17
18</xsd:element>
19
20
21<xsd:complexType name="UserDatabase_t">
22   <xsd:sequence>
23
24      <xsd:element ref="b:TestUserConfig" minOccurs="0" maxOccurs="unbounded"/> 
25     
26   </xsd:sequence>
27</xsd:complexType>
28
29
30</xsd:schema>
Note: See TracBrowser for help on using the repository browser.