2 Copyright (c) 2000-2015 Ericsson Telecom AB
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
9 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
10 xmlns:ns2="www.XmlTest.org/union"
11 targetNamespace="www.XmlTest.org/union" >
13 <xsd:documentation xml:lang="en">
14 This documentum tests based on
15 XML Schema Part 0: Primer Second Edition,
18 XML Schema Part 2: Datatypes Second Edition
22 <xsd:simpleType name="MyUnion1">
23 <xsd:union memberTypes="xsd:float xsd:boolean">
27 <xsd:simpleType name="MyUnion2">
28 <xsd:union memberTypes="xsd:string xsd:boolean">
32 <xsd:simpleType name="MyUnion3">
33 <xsd:union memberTypes="xsd:string xsd:boolean xsd:decimal xsd:time xsd:float xsd:double">
37 <xsd:simpleType name="Result">
38 <xsd:restriction base="xsd:boolean"/>
41 <xsd:element name="MyUnion4" type="ns2:MyUnion1"/>