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