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 usenil_comp_clash_SE { //^In TTCN-3 module `usenil_comp_clash_SE'://
9 // 33.2.3 The OPTIONAL component shall not have any of: ANY-ELEMENT, ANY-ATTRIBUTES, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, UNTAGGED, USE-NIL, USE-ORDER or USETYPE
11 ANY-ATTRIBUTES member can't be optional
12 Last member for USE-NIL must be optional
14 type record U1 { //^In type definition/-/
15 record of universal charstring aa optional //^In record field/-/
19 variant (aa) "anyAttributes"
24 type record U2 { //^In type definition//
25 universal charstring ae optional //^error: The OPTIONAL component of USE-NIL cannot have any of the following encoding instructions: ANY-ATTRIBUTES, ANY-ELEMENT, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, UNTAGGED, USE-NIL, USE-ORDER, USE-TYPE//
29 variant (ae) "anyElement";
33 type record U3 { //^In type definition//
34 integer s optional //^error: The OPTIONAL component of USE-NIL cannot have any of the following encoding instructions: ANY-ATTRIBUTES, ANY-ELEMENT, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, UNTAGGED, USE-NIL, USE-ORDER, USE-TYPE//
38 variant (s) "defaultForEmpty as '42'";
42 type record U4 { //^In type definition//
44 record { //^error: The OPTIONAL component of USE-NIL cannot have any of the following encoding instructions: ANY-ATTRIBUTES, ANY-ELEMENT, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, UNTAGGED, USE-NIL, USE-ORDER, USE-TYPE//
45 record of universal charstring emb
50 variant (first) "attribute";
51 variant (last) "embedValues";
55 type record U5 {//^In type definition//
56 integer last //^error: The OPTIONAL component of USE-NIL cannot have any of the following encoding instructions: ANY-ATTRIBUTES, ANY-ELEMENT, DEFAULT-FOR-EMPTY, EMBED-VALUES, PI-OR-COMMENT, UNTAGGED, USE-NIL, USE-ORDER, USE-TYPE//
60 variant (last) "untagged"
67 variant "controlNamespace 'urn:a' prefix 'u'"