1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R3A
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
12 // File: www_example_org_type_substitution_elem_in_ct_mod1_e.ttcn
17 // Updated: Wed Nov 18 15:03:25 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - type_substitution_elem_in_ct_mod1_e.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/type/substitution/elem/in/ct/mod1/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_type_substitution_elem_in_ct_mod1 {
44 String_derivations string,
45 ParentType_derivations parentType
52 type XSD.String Stringtype
54 variant "name as uncapitalized";
58 type XSD.String Stringtype2 length(5)
60 variant "name as uncapitalized";
64 type record ParentType
66 record of XSD.String foo_list,
70 variant (foo_list) "untagged";
71 variant (foo_list[-]) "name as 'foo'";
75 type record RestrictedType
77 record length(1 .. infinity) of XSD.String foo_list,
81 variant "name as uncapitalized";
82 variant (foo_list) "untagged";
83 variant (foo_list[-]) "name as 'foo'";
87 type record MorerestrictedType
89 record length(2 .. infinity) of XSD.String foo_list,
93 variant "name as uncapitalized";
94 variant (foo_list) "untagged";
95 variant (foo_list[-]) "name as 'foo'";
99 type union String_derivations
102 Stringtype_derivations stringtype
105 variant "name as uncapitalized";
110 type union Stringtype_derivations
112 Stringtype stringtype,
113 Stringtype2 stringtype2
116 variant "name as uncapitalized";
121 type union ParentType_derivations
123 ParentType parentType,
124 RestrictedType_derivations restrictedType
128 variant (parentType) "name as capitalized";
129 variant (restrictedType) "block";
133 type union RestrictedType_derivations
135 RestrictedType restrictedType,
136 MorerestrictedType morerestrictedType
139 variant "name as uncapitalized";
141 variant (morerestrictedType) "block";
148 variant "namespace as 'www.example.org/type/substitution/elem/in/ct/mod1' prefix 'this'";
149 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";