Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_attrib_order_a_e.ttcn
1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator version: CRL 113 200/7 R3b
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_attrib_order_a_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Fri Aug 28 12:53:34 2015
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - attrib_order_a.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/attrib/order/a" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_example_org_attrib_order_a_e {
37
38
39 import from XSD all;
40
41
42 import from www_example_org_attrib_order_b all;
43
44
45 import from NoTargetNamespace2_e all;
46
47
48 type XSD.String Local1 ("fixed")
49 with {
50 variant "name as uncapitalized";
51 variant "defaultForEmpty as 'fixed'";
52 variant "attribute";
53 };
54
55
56 type XSD.String Local2
57 with {
58 variant "name as uncapitalized";
59 variant "attribute";
60 };
61
62
63 type record E17A
64 {
65 AttrNoTargetNamespace attrNoTargetNamespace optional,
66 AttrNoTargetNamespace2 attrNoTargetNamespace2 optional,
67 Lang lang optional,
68 Local1 local1 optional,
69 Local2 local2 optional,
70 Attr1 attr1 optional,
71 XSD.Float barInAgroup optional,
72 XSD.Float fooInAgroup optional
73 }
74 with {
75 variant "name as uncapitalized";
76 variant (attrNoTargetNamespace) "name as capitalized";
77 variant (attrNoTargetNamespace) "attribute";
78 variant (attrNoTargetNamespace2) "name as capitalized";
79 variant (attrNoTargetNamespace2) "attribute";
80 variant (lang) "attribute";
81 variant (local1) "attribute";
82 variant (local2) "attribute";
83 variant (attr1) "name as capitalized";
84 variant (attr1) "namespace as 'www.example.org/attrib/order/b' prefix 'A'";
85 variant (attr1) "attribute";
86 variant (barInAgroup) "namespace as 'www.example.org/attrib/order/b' prefix 'A'";
87 variant (barInAgroup) "attribute";
88 variant (fooInAgroup) "namespace as 'www.example.org/attrib/order/b' prefix 'A'";
89 variant (fooInAgroup) "attribute";
90 };
91
92
93 type union Lang
94 {
95 XSD.Language language_,
96 enumerated {
97 x
98 } alt_
99 }
100 with {
101 variant "name as uncapitalized";
102 variant "useUnion";
103 variant "attribute";
104 variant (language_) "name as 'language'";
105 variant (alt_) "name as ''";
106 variant (alt_) "text 'x' as ''";
107 };
108
109
110 }
111 with {
112 encode "XML";
113 variant "namespace as 'www.example.org/attrib/order/a' prefix 'this'";
114 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
115 }
This page took 0.033412 seconds and 5 git commands to generate.