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_simpletype_e.ttcn
17 // Updated: Wed Nov 18 11:56:35 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - type_substitution_simpletype_e.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/type/substitution/simpletype/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_type_substitution_simpletype {
42 type String_derivations Head
44 variant "name as uncapitalized";
49 type String_derivations Head_1
51 variant "name as 'head_'";
56 type Stringtype_derivations Head2
58 variant "name as uncapitalized";
63 type XSD.String Stringtype
65 variant "name as uncapitalized";
69 type XSD.String Stringtype2 length(5)
71 variant "name as uncapitalized";
75 type Integer_derivations Int
77 variant "name as uncapitalized";
82 type XSD.Integer ExtInt
84 variant "name as uncapitalized";
88 /* Test if the elements are changed in a complextype */
91 type Base64Binary_derivations Elem
93 variant "name as uncapitalized";
98 type XSD.Base64Binary CrypBinary;
101 type Signature SignatureValue
107 type record Signature
110 XSD.Base64Binary base
113 variant (id) "name as capitalized";
114 variant (id) "attribute";
115 variant (base) "untagged";
128 Base64Binary_derivations sKI,
129 Base64Binary_derivations cert
133 variant (choice) "untagged";
134 variant (choice.sKI) "name as capitalized";
135 variant (choice.cert) "name as capitalized";
139 type union String_derivations
142 Stringtype stringtype,
143 Stringtype2 stringtype2
146 variant "name as uncapitalized";
151 type union Stringtype_derivations
153 Stringtype stringtype,
154 Stringtype2 stringtype2
157 variant "name as uncapitalized";
162 type union Integer_derivations
164 XSD.Integer integer_,
168 variant "name as uncapitalized";
170 variant (integer_) "name as 'integer'";
174 type union Base64Binary_derivations
176 XSD.Base64Binary base64Binary,
177 CrypBinary crypBinary
180 variant "name as uncapitalized";
182 variant (crypBinary) "name as capitalized";
189 variant "namespace as 'www.example.org/type/substitution/simpletype' prefix 'this'";
190 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";