Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_substitutiongroup_long_extension_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/5 R2A
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
10*******************************************************************************/
11//
12// File: www_example_org_substitutiongroup_long_extension_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Oct 15 13:37:32 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - substitutiongroup_long_extension_e.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/substitutiongroup/long/extension/e" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_example_org_substitutiongroup_long_extension {
37
38
39import from XSD all;
40
41
42type XSD.String Member
43with {
3f84031e 44 variant "name as uncapitalized";
45 variant "element";
3abe9331 46};
47
48
49type enumerated StringEnum
50{
51 else_,
52 something
53}
54with {
3f84031e 55 variant "text 'else_' as 'else'";
56 variant "name as uncapitalized";
57 variant "element";
3abe9331 58};
59
60
61type record ComplexEnum
62{
63 XSD.Integer bar optional,
64 XSD.Float foo optional,
65 XSD.String base
66}
67with {
3f84031e 68 variant "name as uncapitalized";
69 variant "element";
70 variant (bar) "attribute";
71 variant (foo) "attribute";
72 variant (base) "untagged";
3abe9331 73};
74
75
76type E27seq Member3
77with {
3f84031e 78 variant "name as uncapitalized";
79 variant "element";
3abe9331 80};
81
82
83type record E27seq
84{
85 XSD.String extAttrib optional,
86 Member2 base
87}
88with {
3f84031e 89 variant "name as uncapitalized";
90 variant (extAttrib) "attribute";
91 variant (base) "untagged";
3abe9331 92};
93
94
95type E26seq Member2
96with {
3f84031e 97 variant "name as uncapitalized";
98 variant "element";
3abe9331 99};
100
101
102type record E26seq
103{
104 XSD.Integer bar optional,
105 XSD.Float foo optional,
106 XSD.String unitOfAge optional,
107 XSD.String base
108}
109with {
3f84031e 110 variant "name as uncapitalized";
111 variant (bar) "attribute";
112 variant (foo) "attribute";
113 variant (unitOfAge) "attribute";
114 variant (base) "untagged";
3abe9331 115};
116
117
118type record Ize
119{
120 record of Head_group head_list
121}
122with {
3f84031e 123 variant "name as uncapitalized";
124 variant "element";
125 variant (head_list) "untagged";
126 variant (head_list[-]) "name as 'head'";
3abe9331 127};
128
129
130type union Head_group
131{
132 XSD.String head,
133 ComplexEnum complexEnum,
134 Member member,
135 Member2 member2,
136 Member3 member3,
137 StringEnum stringEnum
138}
139with {
3f84031e 140 variant "untagged";
141 variant (complexEnum) "block";
142 variant (member2) "block";
143 variant (member3) "block";
3abe9331 144};
145
146
147}
148with {
3f84031e 149 encode "XML";
150 variant "namespace as 'www.example.org/substitutiongroup/long/extension' prefix 'this'";
151 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 152}
This page took 0.031565 seconds and 5 git commands to generate.