/******************************************************************************
 * Copyright (c) 2000-2025 Ericsson Telecom AB
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
 *
 * Contributors:
 *   Balasko, Jeno
 *   Raduly, Csaba
 *
 ******************************************************************************/
module dfe_clash_SE {	//^In TTCN-3 module `dfe_clash_SE'://

type charstring du            //^In type definition// \
//^error: A type with DEFAULT-FOR-EMPTY shall not have any of the final encoding instructions ANY-ELEMENT, ATTRIBUTE, UNTAGGED// \
//^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//
with {
  variant "defaultForEmpty as 'moo'";
  variant "untagged";
}

type universal charstring dae //^In type definition// \
//^error: A type with DEFAULT-FOR-EMPTY shall not have any of the final encoding instructions ANY-ELEMENT, ATTRIBUTE, UNTAGGED// \
//^error: A type with ANY-ELEMENT may not have any of the following encoding instructions: ATTRIBUTE, BASE64, DEFAULT-FOR-EMPTY, PI-OR-COMMENT, UNTAGGED or WHITESPACE//
with {
  variant "defaultForEmpty as 'moo'";
  variant "anyElement";
}

/* D-F-E and ATRIBUTE is forbidden in ASN.1 but is permitted by TTCN because of its "misuse" of D-F-E */
type charstring da //do not look for these errors:    |^In type definition|  |^error: A type with DEFAULT-FOR-EMPTY shall not have any of the final encoding instructions ANY-ELEMENT, ATTRIBUTE, UNTAGGED\.|
with {
  variant "defaultForEmpty as 'moo'";
  variant "attribute";
}

type record Rdae { //^In type definition//
  universal charstring da //^In record field// \
  //^error: A type with DEFAULT-FOR-EMPTY shall not have any of the final encoding instructions ANY-ELEMENT, ATTRIBUTE, UNTAGGED// \
  //^error: A type with ANY-ELEMENT may not have any of the following encoding instructions: ATTRIBUTE, BASE64, DEFAULT-FOR-EMPTY, PI-OR-COMMENT, UNTAGGED or WHITESPACE//
}
with {
  variant (da) "defaultForEmpty as 'moo'";
  variant (da) "anyElement";
}

type record Rdu { //^In type definition//
  universal charstring da //^In record field// \
  //^error: A type with DEFAULT-FOR-EMPTY shall not have any of the final encoding instructions ANY-ELEMENT, ATTRIBUTE, UNTAGGED// \
  //^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//
}
with {
  variant (da) "defaultForEmpty as 'moo'";
  variant (da) "untagged";
}

}
with {
encode "XML"
}
