Commit | Line | Data |
---|---|---|
114d1c9a | 1 | /****************************************************************************** |
d44e3c4f | 2 | * Copyright (c) 2000-2016 Ericsson Telecom AB |
114d1c9a EL |
3 | * All rights reserved. This program and the accompanying materials |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
d44e3c4f | 7 | * |
8 | * Contributors: | |
9 | * Balasko, Jeno | |
10 | * Raduly, Csaba | |
11 | * | |
114d1c9a EL |
12 | ******************************************************************************/ |
13 | module attribs_OK { | |
14 | ||
15 | type record yuck { | |
16 | record of universal charstring aa, | |
17 | integer b | |
18 | } | |
19 | with { | |
20 | variant (aa) "anyAttributes"; | |
21 | variant (b) "attribute"; | |
22 | } | |
23 | ||
24 | type record yuck2 { | |
25 | integer b, | |
26 | record of universal charstring aa | |
27 | } | |
28 | with { | |
29 | variant (aa) "anyAttributes"; | |
30 | variant (b) "attribute"; | |
31 | } | |
32 | ||
33 | ||
34 | type record yuck_uo { | |
35 | record of enumerated { y } order, | |
36 | record of universal charstring aa, | |
37 | integer b, | |
38 | boolean y | |
39 | } | |
40 | with { | |
41 | variant "useOrder"; | |
42 | variant (aa) "anyAttributes"; | |
43 | variant (b) "attribute"; | |
44 | } | |
45 | ||
46 | ||
47 | } | |
48 | with { | |
49 | encode "XML"; | |
50 | } | |
51 |