+/*******************************************************************************
+* Copyright (c) 2000-2016 Ericsson Telecom AB
+*
+* XSD to TTCN-3 Translator version: CRL 113 200/5 R5A
+*
+* 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
+*
+* Contributors:
+* Balasko, Jeno
+* Szabo, Bence Janos
+*
+*******************************************************************************/
+//
+// File: www_example_org_enumeration_restriction3_e.ttcn
+// Description:
+// References:
+// Rev:
+// Prodnr:
+// Updated: Tue May 31 11:21:08 2015
+// Contact: http://ttcn.ericsson.se
+//
+////////////////////////////////////////////////////////////////////////////////
+// Generated from file(s):
+// - enumeration_restriction3_e.xsd
+// /* xml version = "1.0" encoding = "UTF-8" */
+// /* targetnamespace = "www.example.org/enumeration_restriction3/e" */
+////////////////////////////////////////////////////////////////////////////////
+// Modification header(s):
+//-----------------------------------------------------------------------------
+// Modified by:
+// Modification date:
+// Description:
+// Modification contact:
+//------------------------------------------------------------------------------
+////////////////////////////////////////////////////////////////////////////////
+
+
+module www_example_org_enumeration_restriction3 {
+
+
+import from XSD all;
+
+
+type CType C
+with {
+ variant "element";
+};
+
+
+type enumerated CType
+{
+ b2,
+ uNKNOWN
+}
+with {
+ variant "text 'b2' as capitalized";
+ variant "text 'uNKNOWN' as capitalized";
+};
+
+
+type enumerated CTypeEnum
+{
+ b2
+}
+with {
+ variant "text 'b2' as capitalized";
+};
+
+
+type CTypeEnum C2
+with {
+ variant "element";
+};
+
+
+type enumerated Mountainbikesize
+{
+ medium,
+ small
+}
+with {
+ variant "name as uncapitalized";
+};
+
+
+type record FamilyMountainBikeSizes
+{
+ XSD.String familyMember optional,
+ Mountainbikesize base
+}
+with {
+ variant (familyMember) "attribute";
+ variant (base) "untagged";
+};
+
+
+type record ChildMountainBikeSizes
+{
+ XSD.String familyMember optional,
+ enumerated {
+ small
+ } base
+}
+with {
+ variant (familyMember) "attribute";
+ variant (base) "untagged";
+};
+
+
+}
+with {
+ encode "XML";
+ variant "namespace as 'www.example.org/enumeration_restriction3' prefix 'nse'";
+ variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
+}