Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_fixed_value_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 R1A
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_fixed_value_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Mon Sep 7 12:19:26 2011
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - a.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/fixed/value" */
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_fixed_value {
37
38
39import from XSD all;
40
41
42type XSD.String StringType ("a")
43with {
44variant "defaultForEmpty as 'a'";
45variant "element";
46};
47
48
49type XSD.Integer IntegerType (7)
50with {
51variant "defaultForEmpty as '7'";
52variant "element";
53};
54
55
56type XSD.Float FloatType (7.0)
57with {
58variant "defaultForEmpty as '7.0'";
59variant "element";
60};
61
62
63type XSD.Double DoubleType (7.0)
64with {
65variant "defaultForEmpty as '7.0'";
66variant "element";
67};
68
69
70type XSD.Boolean BooleanType (true)
71with {
72variant "defaultForEmpty as 'true'";
73variant "element";
74//variant "text 'true' as '1'";
75//variant "text 'false' as '0'";
76};
77
78
79type XSD.Boolean BooleanType2 (false)
80with {
81variant "defaultForEmpty as '0'";
82variant "element";
83//variant "text 'true' as '1'";
84//variant "text 'false' as '0'";
85};
86
87
88type XSD.Date DateType ("2011-11-11")
89with {
90variant "defaultForEmpty as '2011-11-11'";
91variant "element";
92};
93
94
95type XSD.Time TimeType ("11:11:11")
96with {
97variant "defaultForEmpty as '11:11:11'";
98variant "element";
99};
100
101
102type XSD.DateTime DateTimeType ("2002-05-30T09:00:00")
103with {
104variant "defaultForEmpty as '2002-05-30T09:00:00'";
105variant "element";
106};
107
108
109type XSD.GDay DayType ("---13")
110with {
111variant "defaultForEmpty as '---13'";
112variant "element";
113};
114
115
116type XSD.GMonth MonthType ("--11")
117with {
118variant "defaultForEmpty as '--11'";
119variant "element";
120};
121
122
123type XSD.GMonthDay MonthDayType ("--11-30")
124with {
125variant "defaultForEmpty as '--11-30'";
126variant "element";
127};
128
129
130type XSD.GYear YearType ("1999")
131with {
132variant "defaultForEmpty as '1999'";
133variant "element";
134};
135
136
137type XSD.GYearMonth YearMonthType ("1999-11")
138with {
139variant "defaultForEmpty as '1999-11'";
140variant "element";
141};
142
143
144type XSD.HexBinary HexType
145with {
146variant "element";
147};
148
149
150type XSD.Base64Binary Base64Type
151with {
152variant "element";
153};
154
155
156}
157with {
158encode "XML";
159variant "namespace as 'www.example.org/fixed/value'";
160variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
161}
This page took 0.029852 seconds and 5 git commands to generate.