Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_string_withEnum_e.ttcn
1 /*******************************************************************************
2 * Copyright 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 //
12 // File: www_XmlTest_org_string_withEnum_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Sep 5 17:34:59 2013
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_string_withEnum.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "http://www.XmlTest.org/string_withEnum" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_XmlTest_org_string_withEnum_e {
37
38
39 import from XSD all;
40
41
42 /* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition,
44 2.3 Simple Types and
45 Appendix B
46 XML Schema Part 2: Datatypes Second Edition
47 3 Built-in Datatypes */
48
49
50 /* For WhiteSpace see
51 XML Schema Part 2: Datatypes Second Edition 4.3.6
52 i.e http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#rf-whiteSpace
53 and
54 ETSI ES 201 873-9 V4.1.2 / Ch 6.1.5 */
55
56
57 type enumerated StringEnum
58 {
59 a,
60 d,
61 hU,
62 s,
63 uK
64 }
65 with {
66 variant "text 'a' as capitalized";
67 variant "text 'd' as capitalized";
68 variant "text 'hU' as capitalized";
69 variant "text 's' as capitalized";
70 variant "text 'uK' as capitalized";
71 };
72
73
74 }
75 with {
76 encode "XML";
77 variant "namespace as 'http://www.XmlTest.org/string_withEnum' prefix 'swe'";
78 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
79 }
This page took 0.032108 seconds and 5 git commands to generate.