1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
12 // File: www_XmlTest_org_union_e.ttcn
17 // Updated: Thu Sep 5 17:35:03 2013
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_union.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/union" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_XmlTest_org_union_e {
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition,
46 XML Schema Part 2: Datatypes Second Edition */
56 variant (float_) "name as 'float'";
57 variant (boolean_) "name as 'boolean'";
58 //variant (boolean_) "text 'true' as '1'";
59 //variant (boolean_) "text 'false' as '0'";
70 variant (boolean_) "name as 'boolean'";
71 //variant (boolean_) "text 'true' as '1'";
72 //variant (boolean_) "text 'false' as '0'";
87 variant (boolean_) "name as 'boolean'";
88 //variant (boolean_) "text 'true' as '1'";
89 //variant (boolean_) "text 'false' as '0'";
90 variant (float_) "name as 'float'";
94 type XSD.Boolean Result;
96 //variant "text 'true' as '1'";
97 //variant "text 'false' as '0'";
101 type MyUnion1 MyUnion4
110 variant "namespace as 'www.XmlTest.org/union' prefix 'ns2'";
111 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";