Commit | Line | Data |
---|---|---|
114d1c9a | 1 | /****************************************************************************** |
3abe9331 | 2 | * Copyright (c) 2000-2015 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 | |
7 | ******************************************************************************/ | |
8 | module attribs_OK { | |
9 | ||
10 | type record yuck { | |
11 | record of universal charstring aa, | |
12 | integer b | |
13 | } | |
14 | with { | |
15 | variant (aa) "anyAttributes"; | |
16 | variant (b) "attribute"; | |
17 | } | |
18 | ||
19 | type record yuck2 { | |
20 | integer b, | |
21 | record of universal charstring aa | |
22 | } | |
23 | with { | |
24 | variant (aa) "anyAttributes"; | |
25 | variant (b) "attribute"; | |
26 | } | |
27 | ||
28 | ||
29 | type record yuck_uo { | |
30 | record of enumerated { y } order, | |
31 | record of universal charstring aa, | |
32 | integer b, | |
33 | boolean y | |
34 | } | |
35 | with { | |
36 | variant "useOrder"; | |
37 | variant (aa) "anyAttributes"; | |
38 | variant (b) "attribute"; | |
39 | } | |
40 | ||
41 | ||
42 | } | |
43 | with { | |
44 | encode "XML"; | |
45 | } | |
46 |