Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_type_substitution_simple_cascade_e.ttcn
CommitLineData
d44e3c4f 1/******************************************************************************
2* Copyright (c) 2000-2016 Ericsson Telecom AB
3f84031e 3*
d44e3c4f 4* XSD to TTCN-3 Translator
3f84031e 5*
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
d44e3c4f 10*
11* Contributors:
12* Balasko, Jeno
13* Szabo, Bence Janos
14*
15******************************************************************************/
3f84031e 16//
17// File: www_example_org_type_substitution_simple_cascade_e.ttcn
18// Description:
19// References:
20// Rev:
21// Prodnr:
22// Updated: Thu Dec 10 13:13:38 2014
23// Contact: http://ttcn.ericsson.se
24//
25////////////////////////////////////////////////////////////////////////////////
26// Generated from file(s):
27// - type_substitution_simple_cascade_e.xsd
28// /* xml version = "1.0" encoding = "UTF-8" */
29// /* targetnamespace = "www.example.org/type/substitution/simple/cascade/e" */
30////////////////////////////////////////////////////////////////////////////////
31// Modification header(s):
32//-----------------------------------------------------------------------------
33// Modified by:
34// Modification date:
35// Description:
36// Modification contact:
37//------------------------------------------------------------------------------
38////////////////////////////////////////////////////////////////////////////////
39
40
41module www_example_org_type_substitution_simple_cascade {
42
43
44import from XSD all;
45
46
47type String_derivations Elem
48with {
49 variant "name as uncapitalized";
50 variant "element";
51};
52
53
54type Stringtype_derivations Elem1
55with {
56 variant "name as uncapitalized";
57 variant "element";
58};
59
60
61type Stringtype2_derivations Elem2
62with {
63 variant "name as uncapitalized";
64 variant "element";
65};
66
67
68type Stringtype3_derivations Elem3
69with {
70 variant "name as uncapitalized";
71 variant "element";
72};
73
74
75type XSD.String Stringtype
76with {
77 variant "name as uncapitalized";
78};
79
80
81type XSD.String Stringtype2 length(5)
82with {
83 variant "name as uncapitalized";
84};
85
86
87type XSD.String Stringtype3 (pattern "dd") length(5)
88with {
89 variant "name as uncapitalized";
90};
91
92
93type XSD.String Stringtype4 (pattern "d") length(5)
94with {
95 variant "name as uncapitalized";
96};
97
98
99type union String_derivations
100{
101 XSD.String string,
102 Stringtype stringtype,
103 Stringtype2 stringtype2,
104 Stringtype3 stringtype3,
105 Stringtype4 stringtype4
106}
107with {
108 variant "name as uncapitalized";
109 variant "useType";
110};
111
112
113type union Stringtype_derivations
114{
115 Stringtype stringtype,
116 Stringtype2 stringtype2,
117 Stringtype3 stringtype3,
118 Stringtype4 stringtype4
119}
120with {
121 variant "name as uncapitalized";
122 variant "useType";
123};
124
125
126type union Stringtype2_derivations
127{
128 Stringtype2 stringtype2,
129 Stringtype3 stringtype3,
130 Stringtype4 stringtype4
131}
132with {
133 variant "name as uncapitalized";
134 variant "useType";
135};
136
137
138type union Stringtype3_derivations
139{
140 Stringtype3 stringtype3,
141 Stringtype4 stringtype4
142}
143with {
144 variant "name as uncapitalized";
145 variant "useType";
146};
147
148
149}
150with {
151 encode "XML";
152 variant "namespace as 'www.example.org/type/substitution/simple/cascade'";
153 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
154}
This page took 0.032327 seconds and 5 git commands to generate.