Sync with 5.4.2
[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 {
3f84031e 44 variant "defaultForEmpty as 'a'";
45 variant "element";
3abe9331 46};
47
48
49type XSD.Integer IntegerType (7)
50with {
3f84031e 51 variant "defaultForEmpty as '7'";
52 variant "element";
3abe9331 53};
54
55
56type XSD.Float FloatType (7.0)
57with {
3f84031e 58 variant "defaultForEmpty as '7.0'";
59 variant "element";
3abe9331 60};
61
62
63type XSD.Double DoubleType (7.0)
64with {
3f84031e 65 variant "defaultForEmpty as '7.0'";
66 variant "element";
3abe9331 67};
68
69
70type XSD.Boolean BooleanType (true)
71with {
3f84031e 72 variant "defaultForEmpty as 'true'";
73 variant "element";
74 //variant "text 'true' as '1'";
75 //variant "text 'false' as '0'";
3abe9331 76};
77
78
79type XSD.Boolean BooleanType2 (false)
80with {
3f84031e 81 variant "defaultForEmpty as '0'";
82 variant "element";
83 //variant "text 'true' as '1'";
84 //variant "text 'false' as '0'";
3abe9331 85};
86
87
88type XSD.Date DateType ("2011-11-11")
89with {
3f84031e 90 variant "defaultForEmpty as '2011-11-11'";
91 variant "element";
3abe9331 92};
93
94
95type XSD.Time TimeType ("11:11:11")
96with {
3f84031e 97 variant "defaultForEmpty as '11:11:11'";
98 variant "element";
3abe9331 99};
100
101
102type XSD.DateTime DateTimeType ("2002-05-30T09:00:00")
103with {
3f84031e 104 variant "defaultForEmpty as '2002-05-30T09:00:00'";
105 variant "element";
3abe9331 106};
107
108
109type XSD.GDay DayType ("---13")
110with {
3f84031e 111 variant "defaultForEmpty as '---13'";
112 variant "element";
3abe9331 113};
114
115
116type XSD.GMonth MonthType ("--11")
117with {
3f84031e 118 variant "defaultForEmpty as '--11'";
119 variant "element";
3abe9331 120};
121
122
123type XSD.GMonthDay MonthDayType ("--11-30")
124with {
3f84031e 125 variant "defaultForEmpty as '--11-30'";
126 variant "element";
3abe9331 127};
128
129
130type XSD.GYear YearType ("1999")
131with {
3f84031e 132 variant "defaultForEmpty as '1999'";
133 variant "element";
3abe9331 134};
135
136
137type XSD.GYearMonth YearMonthType ("1999-11")
138with {
3f84031e 139 variant "defaultForEmpty as '1999-11'";
140 variant "element";
3abe9331 141};
142
143
144type XSD.HexBinary HexType
145with {
3f84031e 146 variant "element";
3abe9331 147};
148
149
150type XSD.Base64Binary Base64Type
151with {
3f84031e 152 variant "element";
3abe9331 153};
154
155
156}
157with {
3f84031e 158 encode "XML";
159 variant "namespace as 'www.example.org/fixed/value'";
160 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 161}
This page took 0.030635 seconds and 5 git commands to generate.