1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R1A
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 *******************************************************************************/
12 // File: www_example_org_fixed_value_e.ttcn
17 // Updated: Mon Sep 7 12:19:26 2011
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/fixed/value" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_fixed_value {
42 type XSD.String StringType ("a")
44 variant "defaultForEmpty as 'a'";
49 type XSD.Integer IntegerType (7)
51 variant "defaultForEmpty as '7'";
56 type XSD.Float FloatType (7.0)
58 variant "defaultForEmpty as '7.0'";
63 type XSD.Double DoubleType (7.0)
65 variant "defaultForEmpty as '7.0'";
70 type XSD.Boolean BooleanType (true)
72 variant "defaultForEmpty as 'true'";
74 //variant "text 'true' as '1'";
75 //variant "text 'false' as '0'";
79 type XSD.Boolean BooleanType2 (false)
81 variant "defaultForEmpty as '0'";
83 //variant "text 'true' as '1'";
84 //variant "text 'false' as '0'";
88 type XSD.Date DateType ("2011-11-11")
90 variant "defaultForEmpty as '2011-11-11'";
95 type XSD.Time TimeType ("11:11:11")
97 variant "defaultForEmpty as '11:11:11'";
102 type XSD.DateTime DateTimeType ("2002-05-30T09:00:00")
104 variant "defaultForEmpty as '2002-05-30T09:00:00'";
109 type XSD.GDay DayType ("---13")
111 variant "defaultForEmpty as '---13'";
116 type XSD.GMonth MonthType ("--11")
118 variant "defaultForEmpty as '--11'";
123 type XSD.GMonthDay MonthDayType ("--11-30")
125 variant "defaultForEmpty as '--11-30'";
130 type XSD.GYear YearType ("1999")
132 variant "defaultForEmpty as '1999'";
137 type XSD.GYearMonth YearMonthType ("1999-11")
139 variant "defaultForEmpty as '1999-11'";
144 type XSD.HexBinary HexType
150 type XSD.Base64Binary Base64Type
159 variant "namespace as 'www.example.org/fixed/value'";
160 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";