| 1 | /****************************************************************************** |
| 2 | * Copyright (c) 2000-2015 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 emb_first_untag_SE { //^In TTCN-3 module `emb_first_untag_SE':// |
| 9 | |
| 10 | type record e1 { //^In type definition// \ |
| 11 | //^error: Neither the SEQUENCE-OF supporting EMBED-VALUES,nor its component shall have UNTAGGED\.// |
| 12 | record of universal charstring field_1 |
| 13 | } |
| 14 | with { |
| 15 | variant "embedValues" |
| 16 | variant (field_1) "untagged" |
| 17 | } |
| 18 | |
| 19 | type record e2 { //^In type definition// \ |
| 20 | //^error: Neither the SEQUENCE-OF supporting EMBED-VALUES,nor its component shall have UNTAGGED\.// |
| 21 | record of universal charstring field_1 |
| 22 | } |
| 23 | with { |
| 24 | variant "embedValues" |
| 25 | variant (field_1[-]) "untagged" |
| 26 | } |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | } |
| 32 | with { |
| 33 | encode "XML" |
| 34 | } |