Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_substitutiongroup_complex_without_element_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_complex_without_element_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Oct 15 11:01:18 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - substitutiongroup_complex_without_element_e.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/substitutiongroup/complex/without/element/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_complex_without_element {
37
38
39import from XSD all;
40
41
42type XSD.String Head_group
43with {
44variant "element";
45};
46
47
48type XSD.String Member
49with {
50variant "name as uncapitalized";
51variant "element";
52};
53
54
55type enumerated StringEnum
56{
57 else_,
58 something
59}
60with {
61variant "text 'else_' as 'else'";
62variant "name as uncapitalized";
63variant "element";
64};
65
66
67type E26seq Member2
68with {
69variant "name as uncapitalized";
70variant "element";
71};
72
73
74type record E26seq
75{
76 XSD.String headAttrib optional,
77 XSD.String unitOfAge optional,
78 XSD.String something,
79 XSD.Integer ageElemExt
80}
81with {
82variant "name as uncapitalized";
83variant (headAttrib) "attribute";
84variant (unitOfAge) "attribute";
85variant (something) "name as capitalized";
86};
87
88
89type record Ize
90{
91 record of Head_group_1 head_list
92}
93with {
94variant "name as uncapitalized";
95variant "element";
96variant (head_list) "untagged";
97variant (head_list[-]) "name as 'head'";
98};
99
100
101type union Head_group_1
102{
103 record {
104 XSD.String headAttrib optional,
105 XSD.String something
106 } head,
107 Member member,
108 Member2 member2,
109 StringEnum stringEnum
110}
111with {
112variant "untagged";
51fa56b9 113variant (head) "form as qualified";
114variant (head) "abstract";
3abe9331 115variant (head.headAttrib) "attribute";
116variant (head.something) "name as capitalized";
51fa56b9 117variant (member) "block";
118variant (member2) "block";
119variant (stringEnum) "block";
3abe9331 120};
121
122
123}
124with {
125encode "XML";
126variant "namespace as 'www.example.org/substitutiongroup/complex/without/element' prefix 'this'";
127variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
128}
This page took 0.030225 seconds and 5 git commands to generate.