1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R2A
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_example_org_list_simpletype_e.ttcn
17 // Updated: Wed Oct 21 12:34:20 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - list_simpletype.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/list/simpletype/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_list_simpletype {
42 type record of enumerated
46 } SimpleListEnumeration
48 variant ([-]) "text 'orange' as capitalized";
49 variant ([-]) "text 'red' as capitalized";
63 variant ([-]) "useUnion";
64 variant ([-].alt_) "name as ''";
65 //variant ([-].alt_) "text 'true' as '1'";
66 //variant ([-].alt_) "text 'false' as '0'";
67 variant ([-].alt_1) "name as ''";
71 type record of enumerated
77 } SimpleListEnumerationNumber
79 variant ([-]) "useNumber";
85 type record ComplexListUnionEnumeration
87 record of enumerated {
98 variant (listEnumeration) "name as capitalized";
99 variant (listEnumeration) "list";
100 variant (listEnumeration[-]) "text 'orange' as capitalized";
101 variant (listEnumeration[-]) "text 'red' as capitalized";
102 variant (listUnion) "name as capitalized";
103 variant (listUnion[-]) "useUnion";
104 variant (listUnion) "list";
105 variant (listUnion[-].alt_) "name as ''";
106 //variant (listUnion[-].alt_) "text 'true' as '1'";
107 //variant (listUnion[-].alt_) "text 'false' as '0'";
108 variant (listUnion[-].alt_1) "name as ''";
115 variant "namespace as 'www.example.org/list/simpletype' prefix 'this'";
116 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";