Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / XmlTest_imsike_e.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
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 * Contributors:
12 * Balasko, Jeno
13 * Lovassy, Arpad
14 * Raduly, Csaba
15 * Szabo, Bence Janos
16 *
17 ******************************************************************************/
18 //
19 // File: XmlTest_imsike_e.ttcn
20 // Description:
21 // References:
22 // Rev:
23 // Prodnr:
24 // Updated: Thu Sep 5 17:35:09 2013
25 // Contact: http://ttcn.ericsson.se
26 //
27 ////////////////////////////////////////////////////////////////////////////////
28 // Generated from file(s):
29 // - XmlTest_imsike.xsd
30 // /* xml version = "1.0" */
31 // /* targetnamespace = "urn:XmlTest.imsike" */
32 ////////////////////////////////////////////////////////////////////////////////
33 // Modification header(s):
34 //-----------------------------------------------------------------------------
35 // Modified by:
36 // Modification date:
37 // Description:
38 // Modification contact:
39 //------------------------------------------------------------------------------
40 ////////////////////////////////////////////////////////////////////////////////
41
42
43 module XmlTest_imsike_e {
44
45
46 import from XSD all;
47
48
49 type record IndividualTrigger
50 {
51 XSD.String triggerDescriptionA,
52 record {
53 XSD.String triggerDescription
54 } content optional
55 }
56 with {
57 variant "name as uncapitalized";
58 variant "useNil";
59 variant "element";
60 variant (triggerDescriptionA) "attribute";
61 };
62
63
64 type record Isp
65 {
66 record of record {
67 XSD.String triggerDescriptionA,
68 record {
69 XSD.String triggerDescription
70 } content optional
71 } individualTrigger_list
72 }
73 with {
74 variant "name as uncapitalized";
75 variant "element";
76 variant (individualTrigger_list) "untagged";
77 variant (individualTrigger_list[-]) "name as 'individualTrigger'";
78 variant (individualTrigger_list[-]) "useNil";
79 variant (individualTrigger_list[-].triggerDescriptionA) "attribute";
80 };
81
82
83 type record RemarkNillable
84 {
85 XSD.String content optional
86 }
87 with {
88 variant "name as uncapitalized";
89 variant "useNil";
90 variant "element";
91 };
92
93
94 type record E16c
95 {
96 XSD.Integer foo,
97 record {
98 XSD.String content optional
99 } bar
100 }
101 with {
102 variant "name as uncapitalized";
103 variant (bar) "useNil";
104 };
105
106
107 type record SeqNillable
108 {
109 XSD.String triggerDescriptionA,
110 record {
111 record {
112 XSD.String content optional
113 } forename,
114 record {
115 XSD.String content optional
116 } surname optional,
117 record of record {
118 XSD.String content optional
119 } bornPlace_list,
120 RemarkNillable remarkNillable
121 } content optional
122 }
123 with {
124 variant "useNil";
125 variant "element";
126 variant (triggerDescriptionA) "attribute";
127 variant (content.forename) "useNil";
128 variant (content.surname) "useNil";
129 variant (content.bornPlace_list) "untagged";
130 variant (content.bornPlace_list[-]) "name as 'bornPlace'";
131 variant (content.bornPlace_list[-]) "useNil";
132 };
133
134
135 }
136 with {
137 encode "XML";
138 variant "namespace as 'urn:XmlTest.imsike' prefix 'ns50'";
139 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
140 variant "elementFormQualified";
141 }
This page took 0.042525 seconds and 5 git commands to generate.