Titan Core Initial Contribution
[deliverable/titan.core.git] / function_test / Semantic_Analyser / xer / aa_untagged_SE.ttcn
CommitLineData
114d1c9a
EL
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 ******************************************************************************/
8module aa_untagged_SE { //^In TTCN-3 module `aa_untagged_SE'://
9
10type record R { //^In type definition//
11 record of universal charstring aa //^In record field// \
12 //^error: A type with final encoding attribute UNTAGGED shall not have any of the final encoding instructions ANY-ATTRIBUTES, ANY-ELEMENT, ATTRIBUTE, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, USE-NIL or USE-TYPE// \
13 //^error: Neither the type with ANY-ATTRIBUTES, nor its enclosing type may be marked UNTAGGED//
14}
15with {
16 variant (aa) "anyAttributes";
17 variant (aa) "untagged";
18}
19
20
21type record RR { //^In type definition//
22 record of universal charstring aa //^In record field// \
23 //^error: Neither the type with ANY-ATTRIBUTES, nor its enclosing type may be marked UNTAGGED//
24}
25with {
26 variant (aa) "anyAttributes";
27 variant "untagged";
28}
29
30
31
32}
33with {
34 encode "XML";
35}
36
This page took 0.024161 seconds and 5 git commands to generate.