Titan Core Initial Contribution
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / NoTargetNamespace_JMdict_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: NoTargetNamespace_JMdict_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated:
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 //
22 // Generated from file(s):
23 //
24 // - jmdict-good.xsd
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "NoTargetNamespace" */
27 //
28 ////////////////////////////////////////////////////////////////////////////////
29
30
31 module NoTargetNamespace_JMdict_e {
32
33
34 import from XSD all;
35
36
37 type record JMdict
38 {
39 record length(1 .. infinity) of Entry entry_list
40 }
41 with {
42 variant "element";
43 variant (entry_list) "untagged";
44 };
45
46
47 type record Entry
48 {
49 Ent_seq ent_seq,
50 record of K_ele k_ele_list,
51 record length(1 .. infinity) of R_ele r_ele_list,
52 Info info optional,
53 record length(1 .. infinity) of Sense sense_list
54 }
55 with {
56 variant "name as uncapitalized";
57 variant "element";
58 variant (k_ele_list) "untagged";
59 variant (r_ele_list) "untagged";
60 variant (sense_list) "untagged";
61 };
62
63
64 type XSD.Integer Ent_seq
65 with {
66 variant "name as uncapitalized";
67 variant "element";
68 };
69
70
71 type record K_ele
72 {
73 Keb keb,
74 record of Ke_inf ke_inf_list,
75 record of Ke_pri ke_pri_list
76 }
77 with {
78 variant "name as uncapitalized";
79 variant "element";
80 variant (ke_inf_list) "untagged";
81 variant (ke_pri_list) "untagged";
82 };
83
84
85 type XSD.String Keb
86 with {
87 variant "name as uncapitalized";
88 variant "element";
89 };
90
91
92 type XSD.NCName Ke_inf
93 with {
94 variant "name as uncapitalized";
95 variant "element";
96 };
97
98
99 type XSD.NCName Ke_pri
100 with {
101 variant "name as uncapitalized";
102 variant "element";
103 };
104
105
106 type record R_ele
107 {
108 Reb reb,
109 union {
110 Re_nokanji re_nokanji,
111 record of Re_restr re_restr_list
112 } choice,
113 record of Re_inf re_inf_list,
114 record of Re_pri re_pri_list
115 }
116 with {
117 variant "name as uncapitalized";
118 variant "element";
119 variant (choice) "untagged";
120 variant (choice.re_restr_list) "untagged";
121 variant (re_inf_list) "untagged";
122 variant (re_pri_list) "untagged";
123 };
124
125
126 type XSD.String Reb
127 with {
128 variant "name as uncapitalized";
129 variant "element";
130 };
131
132
133 type record Re_nokanji
134 {
135
136 }
137 with {
138 variant "name as uncapitalized";
139 variant "element";
140 };
141
142
143 type XSD.String Re_restr
144 with {
145 variant "name as uncapitalized";
146 variant "element";
147 };
148
149
150 type XSD.NCName Re_inf
151 with {
152 variant "name as uncapitalized";
153 variant "element";
154 };
155
156
157 type XSD.NCName Re_pri
158 with {
159 variant "name as uncapitalized";
160 variant "element";
161 };
162
163
164 type record Info
165 {
166 Audit audit
167 }
168 with {
169 variant "name as uncapitalized";
170 variant "element";
171 };
172
173
174 type record Audit
175 {
176 Upd_date upd_date,
177 Upd_detl upd_detl
178 }
179 with {
180 variant "name as uncapitalized";
181 variant "element";
182 };
183
184
185 type XSD.NMTOKEN Upd_date
186 with {
187 variant "name as uncapitalized";
188 variant "element";
189 };
190
191
192 type XSD.String Upd_detl
193 with {
194 variant "name as uncapitalized";
195 variant "element";
196 };
197
198
199 type record Sense
200 {
201 record of Stagk stagk_list,
202 record of Stagr stagr_list,
203 record of Pos pos_list,
204 record of Xref xref_list,
205 record of Ant ant_list,
206 record of Field field_list,
207 record of Misc misc_list,
208 S_inf s_inf optional,
209 union {
210 record of Dial dial_list,
211 record of Lsource lsource_list
212 } choice,
213 record of Gloss gloss_list
214 }
215 with {
216 variant "name as uncapitalized";
217 variant "element";
218 variant (stagk_list) "untagged";
219 variant (stagr_list) "untagged";
220 variant (pos_list) "untagged";
221 variant (xref_list) "untagged";
222 variant (ant_list) "untagged";
223 variant (field_list) "untagged";
224 variant (misc_list) "untagged";
225 variant (choice) "untagged";
226 variant (choice.dial_list) "untagged";
227 variant (choice.lsource_list) "untagged";
228 variant (gloss_list) "untagged";
229 };
230
231
232 type XSD.String Stagk
233 with {
234 variant "name as uncapitalized";
235 variant "element";
236 };
237
238
239 type XSD.NCName Stagr
240 with {
241 variant "name as uncapitalized";
242 variant "element";
243 };
244
245
246 type XSD.NCName Pos
247 with {
248 variant "name as uncapitalized";
249 variant "element";
250 };
251
252
253 type XSD.String Xref
254 with {
255 variant "name as uncapitalized";
256 variant "element";
257 };
258
259
260 type XSD.String Ant
261 with {
262 variant "name as uncapitalized";
263 variant "element";
264 };
265
266
267 type XSD.NCName Field
268 with {
269 variant "name as uncapitalized";
270 variant "element";
271 };
272
273
274 type XSD.NCName Misc
275 with {
276 variant "name as uncapitalized";
277 variant "element";
278 };
279
280
281 type XSD.String S_inf
282 with {
283 variant "name as uncapitalized";
284 variant "element";
285 };
286
287
288 type XSD.NCName Dial
289 with {
290 variant "name as uncapitalized";
291 variant "element";
292 };
293
294
295 type record Lsource
296 {
297 record of XSD.String embed_values,
298 XSD.Language lang optional,
299 XSD.NCName ls_wasei optional
300 }
301 with {
302 variant "name as uncapitalized";
303 variant "embedValues";
304 variant "element";
305 variant (lang) "attribute";
306 variant (ls_wasei) "attribute";
307 };
308
309
310 type record Gloss
311 {
312 record of XSD.String embed_values,
313 XSD.Language lang
314 }
315 with {
316 variant "name as uncapitalized";
317 variant "embedValues";
318 variant "element";
319 variant (lang) "attribute";
320 };
321
322
323 }
324 with {
325 encode "XML";
326 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
327 variant "elementFormQualified";
328 }
This page took 0.044829 seconds and 5 git commands to generate.