/****************************************************************************** * Copyright (c) 2000-2014 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ module usenil_clash_SE { //^In TTCN-3 module `usenil_clash_SE':// /* 33.2.7 A type with USE-NIL final encoding instruction shall not also have any of the final encoding instructions UNTAGGED or USE-QNAME. */ type record U1 { //^In type definition// \ //^error: The target of an USE-NIL encoding instruction shall not have a final UNTAGGED encoding instruction// \ //^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// integer last optional } with { variant "useNil"; variant "untagged"; } type record U2 { //^In type definition// \ //^error: A type with USE-QNAME shall not have USE-NIL// universal charstring first optional, universal charstring last optional //^error: The second component of a type with USE-QNAME must NOT be optional$// } with { variant "useNil"; variant (first) "attribute"; variant "XSD:QName"; } } with { encode "XML"; variant "controlNamespace 'urn:a' prefix 'u'" }