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 usenil_clash_SE { //^In TTCN-3 module `usenil_clash_SE'://
10 33.2.7 A type with USE-NIL final encoding instruction shall not also have
11 any of the final encoding instructions UNTAGGED or USE-QNAME.
14 type record U1 { //^In type definition// \
15 //^error: The target of an USE-NIL encoding instruction shall not have a final UNTAGGED encoding instruction// \
16 //^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//
24 type record U2 { //^In type definition// \
25 //^error: A type with USE-QNAME shall not have USE-NIL//
26 universal charstring first optional,
27 universal charstring last optional //^error: The second component of a type with USE-QNAME must NOT be optional$//
31 variant (first) "attribute";
38 variant "controlNamespace 'urn:a' prefix 'u'"