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_all_e.ttcn
17 // Updated: Mon Oct 12 12:27:05 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/all/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_all {
42 type XSD.Token AttrGlobal
44 variant "name as uncapitalized";
54 record of enumerated {
64 variant "name as uncapitalized";
69 type record E29aAndAttributes
71 record of enumerated {
76 AttrGlobal attrGlobal optional,
77 XSD.Token attrInGroup1 optional,
78 XSD.Token attrInGroup2 optional,
79 XSD.Integer attrLocal optional,
85 variant "name as uncapitalized";
87 variant (attrGlobal) "attribute";
88 variant (attrInGroup1) "attribute";
89 variant (attrInGroup2) "attribute";
90 variant (attrLocal) "attribute";
97 type record E29bAndAttributes
99 record of enumerated {
104 AttrGlobal attrGlobal optional,
105 XSD.Token attrInGroup1 optional,
106 XSD.Token attrInGroup2 optional,
107 XSD.Integer attrLocal optional,
108 XSD.Integer foo optional,
109 XSD.Float bar optional,
110 XSD.String ding optional
113 variant "name as uncapitalized";
115 variant (attrGlobal) "attribute";
116 variant (attrInGroup1) "attribute";
117 variant (attrInGroup2) "attribute";
118 variant (attrLocal) "attribute";
122 /* All, some elements are optional */
125 type record E29cAndAttributes
127 record of enumerated {
132 AttrGlobal attrGlobal optional,
133 XSD.Token attrInGroup1 optional,
134 XSD.Token attrInGroup2 optional,
135 XSD.Integer attrLocal optional,
137 XSD.Float bar optional,
141 variant "name as uncapitalized";
143 variant (attrGlobal) "attribute";
144 variant (attrInGroup1) "attribute";
145 variant (attrInGroup2) "attribute";
146 variant (attrLocal) "attribute";
150 type record E29cAndAttributesReferenceOptional
152 record of enumerated {
157 XSD.String attr optional,
158 XSD.Integer foo optional,
159 XSD.Float bar optional,
160 XSD.String ding optional
163 variant "name as uncapitalized";
166 variant (attr) "attribute";
173 variant "namespace as 'www.example.org/all' prefix 'this'";
174 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";