Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_xsds / XmlTest_union.xsd
CommitLineData
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<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
10 xmlns:ns2="www.XmlTest.org/union"
11 targetNamespace="www.XmlTest.org/union" >
12 <xsd:annotation>
13 <xsd: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 </xsd:documentation>
20 </xsd:annotation>
21
22<xsd:simpleType name="MyUnion1">
23 <xsd:union memberTypes="xsd:float xsd:boolean">
24 </xsd:union>
25</xsd:simpleType>
26
27<xsd:simpleType name="MyUnion2">
28 <xsd:union memberTypes="xsd:string xsd:boolean">
29 </xsd:union>
30</xsd:simpleType>
31
32<xsd:simpleType name="MyUnion3">
33 <xsd:union memberTypes="xsd:string xsd:boolean xsd:decimal xsd:time xsd:float xsd:double">
34 </xsd:union>
35</xsd:simpleType>
36
37<xsd:simpleType name="Result">
38 <xsd:restriction base="xsd:boolean"/>
39</xsd:simpleType>
40
41<xsd:element name="MyUnion4" type="ns2:MyUnion1"/>
42
43</xsd:schema>
This page took 0.0557 seconds and 5 git commands to generate.