Commit | Line | Data |
---|---|---|
970ed795 | 1 | <!-- |
3abe9331 | 2 | Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | |
4 | All rights reserved. This program and the accompanying materials | |
5 | are made available under the terms of the Eclipse Public License v1.0 | |
6 | which accompanies this distribution, and is available at | |
7 | http://www.eclipse.org/legal/epl-v10.html | |
8 | --> | |
9 | <schema xmlns="http://www.w3.org/2001/XMLSchema" | |
10 | xmlns:ns="www.XmlTest.org/union2" | |
11 | targetNamespace="www.XmlTest.org/union2" > | |
12 | <annotation> | |
13 | <documentation xml:lang="en"> | |
14 | This documentum tests based on | |
15 | XML Schema Part 0: Primer Second Edition, | |
16 | 2.3.2 Union Types | |
17 | Appendix B | |
18 | XML Schema Part 2: Datatypes Second Edition | |
19 | </documentation> | |
20 | </annotation> | |
21 | ||
22 | <simpleType name="MyUnion1"> | |
23 | <union memberTypes="float boolean"> | |
24 | </union> | |
25 | </simpleType> | |
26 | ||
27 | <simpleType name="MyUnion2"> | |
28 | <union memberTypes="string boolean"> | |
29 | </union> | |
30 | </simpleType> | |
31 | ||
32 | <simpleType name="MyUnion3"> | |
33 | <union memberTypes="string boolean decimal time float double"> | |
34 | </union> | |
35 | </simpleType> | |
36 | ||
37 | <simpleType name="Result"> | |
38 | <restriction base="boolean"/> | |
39 | </simpleType> | |
40 | ||
41 | </schema> |