Sync with 5.4.2
[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 {
3f84031e 44 variant "element";
3abe9331 45};
46
47
48type XSD.String Member
49with {
3f84031e 50 variant "name as uncapitalized";
51 variant "element";
3abe9331 52};
53
54
55type enumerated StringEnum
56{
57 else_,
58 something
59}
60with {
3f84031e 61 variant "text 'else_' as 'else'";
62 variant "name as uncapitalized";
63 variant "element";
3abe9331 64};
65
66
67type E26seq Member2
68with {
3f84031e 69 variant "name as uncapitalized";
70 variant "element";
3abe9331 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 {
3f84031e 82 variant "name as uncapitalized";
83 variant (headAttrib) "attribute";
84 variant (unitOfAge) "attribute";
85 variant (something) "name as capitalized";
3abe9331 86};
87
88
89type record Ize
90{
91 record of Head_group_1 head_list
92}
93with {
3f84031e 94 variant "name as uncapitalized";
95 variant "element";
96 variant (head_list) "untagged";
97 variant (head_list[-]) "name as 'head'";
3abe9331 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 {
3f84031e 112 variant "untagged";
113 variant (head) "form as qualified";
114 variant (head) "abstract";
115 variant (head.headAttrib) "attribute";
116 variant (head.something) "name as capitalized";
117 variant (member) "block";
118 variant (member2) "block";
119 variant (stringEnum) "block";
3abe9331 120};
121
122
123}
124with {
3f84031e 125 encode "XML";
126 variant "namespace as 'www.example.org/substitutiongroup/complex/without/element' prefix 'this'";
127 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 128}
This page took 0.029454 seconds and 5 git commands to generate.