| 1 | /****************************************************************************** |
| 2 | * Copyright (c) 2000-2014 Ericsson Telecom AB |
| 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 untagged_charenc_another_SE { //^In TTCN-3 module `untagged_charenc_another_SE':// |
| 9 | |
| 10 | type record R { //^In type definition// |
| 11 | integer other, //^error: All the other components should be ATTRIBUTE or ANY-ATTRIBUTE// |
| 12 | charstring u //^Due to this UNTAGGED component// |
| 13 | } |
| 14 | with { |
| 15 | variant (u) "untagged" |
| 16 | } |
| 17 | |
| 18 | } |
| 19 | with { |
| 20 | encode "XML"; |
| 21 | } |