Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_list_e.ttcn
1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
5 *
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 *******************************************************************************/
11 //
12 // File: www_XmlTest_org_list_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Sep 5 17:35:03 2013
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_list.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/list" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_XmlTest_org_list_e {
37
38
39 import from XSD all;
40
41
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition,
44 2.3 Simple Types Table 2 */
45
46
47 type record of XSD.String StringList
48 with {
49 variant "list";
50 };
51
52
53 type record of XSD.NormalizedString NormalizedStringList
54 with {
55 variant "name as uncapitalized";
56 variant "list";
57 };
58
59
60 type record of XSD.NMTOKEN NMTokenList
61 with {
62 variant "list";
63 };
64
65
66 type record of XSD.Base64Binary Base64BinaryList
67 with {
68 variant "list";
69 };
70
71
72 type record of XSD.HexBinary HexBinaryList
73 with {
74 variant "list";
75 };
76
77
78 type record of XSD.Integer IntegerList
79 with {
80 variant "list";
81 };
82
83
84 type record of XSD.PositiveInteger PositiveIntegerList
85 with {
86 variant "list";
87 };
88
89
90 type record of XSD.NegativeInteger NegativeIntegerList
91 with {
92 variant "list";
93 };
94
95
96 type record of XSD.NonNegativeInteger NonNegativeIntegerList
97 with {
98 variant "name as uncapitalized";
99 variant "list";
100 };
101
102
103 type record of XSD.NonPositiveInteger NonPositiveIntegerList
104 with {
105 variant "list";
106 };
107
108
109 type record of XSD.Long LongList
110 with {
111 variant "list";
112 };
113
114
115 type record of XSD.UnsignedLong UnsignedLongList
116 with {
117 variant "list";
118 };
119
120
121 type record of XSD.Int IntList
122 with {
123 variant "list";
124 };
125
126
127 type record of XSD.UnsignedInt UnsignedIntList
128 with {
129 variant "name as uncapitalized";
130 variant "list";
131 };
132
133
134 type record of XSD.Short ShortList
135 with {
136 variant "list";
137 };
138
139
140 type record of XSD.UnsignedShort UnsignedShortList
141 with {
142 variant "list";
143 };
144
145
146 type record of XSD.Byte ByteList
147 with {
148 variant "name as uncapitalized";
149 variant "list";
150 };
151
152
153 type record of XSD.UnsignedByte UnsignedByteList
154 with {
155 variant "name as uncapitalized";
156 variant "list";
157 };
158
159
160 type record of XSD.Decimal DecimalList
161 with {
162 variant "list";
163 };
164
165
166 type record of XSD.Float FloatList
167 with {
168 variant "list";
169 };
170
171
172 type record of XSD.Double DoubleList
173 with {
174 variant "list";
175 };
176
177
178 type record of XSD.Boolean BooleanList
179 with {
180 variant "list";
181 //variant "text 'true' as '1'";
182 //variant "text 'false' as '0'";
183 };
184
185
186 type record of XSD.Duration DurationList
187 with {
188 variant "list";
189 };
190
191
192 type record of XSD.DateTime DateTimeList
193 with {
194 variant "list";
195 };
196
197
198 type record of XSD.Date DateList
199 with {
200 variant "list";
201 };
202
203
204 type record of XSD.Time TimeList
205 with {
206 variant "list";
207 };
208
209
210 type record of XSD.GYear GYearList
211 with {
212 variant "list";
213 };
214
215
216 type record of XSD.GYearMonth GYearMonthList
217 with {
218 variant "list";
219 };
220
221
222 type record of XSD.GMonth GMonthList
223 with {
224 variant "list";
225 };
226
227
228 type record of XSD.GMonthDay GMonthDayList
229 with {
230 variant "list";
231 };
232
233
234 type record of XSD.GDay GDayList
235 with {
236 variant "list";
237 };
238
239
240 type record of XSD.Token TokenList
241 with {
242 variant "name as uncapitalized";
243 variant "list";
244 };
245
246
247 type record of XSD.Name NameList
248 with {
249 variant "list";
250 };
251
252
253 type record of XSD.QName QNameList
254 with {
255 variant "list";
256 };
257
258
259 type record of XSD.NCName NCNameList
260 with {
261 variant "list";
262 };
263
264
265 type record of XSD.AnyURI AnyURIList
266 with {
267 variant "list";
268 };
269
270
271 type record of XSD.Language LanguageList
272 with {
273 variant "list";
274 };
275
276
277 type record of XSD.ID IDList
278 with {
279 variant "list";
280 };
281
282
283 type record of XSD.IDREF IDRefList
284 with {
285 variant "list";
286 };
287
288
289 /* IDREFS is not primitive type */
290
291
292 type record of XSD.ENTITY ENTITYList
293 with {
294 variant "list";
295 };
296
297
298 /* ENTITES is not primitive type */
299
300
301 /* NOTATION not supported, see 6.2.14 of ETSI TTCN3/9 */
302
303
304 /* NMTOKENS is not primitive type */
305
306
307 }
308 with {
309 encode "XML";
310 variant "namespace as 'www.XmlTest.org/list' prefix 'ns19'";
311 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
312 }
This page took 0.038493 seconds and 5 git commands to generate.