Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_complex2_e.ttcn
CommitLineData
970ed795
EL
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_complex2_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Sep 5 17:35:04 2013
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - XmlTest_complex2.xsd
23// /* xml version = "1.0" */
3f84031e 24// /* targetnamespace = "www.XmlTest.org/complex2/e" */
970ed795
EL
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_XmlTest_org_complex2_e {
37
38
39import from XSD all;
40
41
42/* This documentum tests based on
43 XML Schema Part 0: Primer Second Edition,
44 2.5.3
45 Appendix B
46 XML Schema Part 2: Datatypes Second Edition */
47
48
49type InternationalPrice2 IP
50with {
3f84031e 51 variant "element";
970ed795
EL
52};
53
54
55type record InternationalPrice2
56{
57 XSD.String currency optional,
58 XSD.Decimal value_ optional
59}
60with {
3f84031e 61 variant (currency) "attribute";
62 variant (value_) "name as 'value'";
63 variant (value_) "attribute";
970ed795
EL
64};
65
66
67type record InternationalPrice3
68{
69 XSD.String currency optional,
70 XSD.Decimal value_ optional
71}
72with {
3f84031e 73 variant "name as uncapitalized";
74 variant "element";
75 variant (currency) "attribute";
76 variant (value_) "name as 'value'";
77 variant (value_) "attribute";
970ed795
EL
78};
79
80
81type record InternationalPrice4
82{
83 XSD.String currency optional,
84 XSD.Decimal value_ optional
85}
86with {
3f84031e 87 variant "name as uncapitalized";
88 variant "element";
89 variant (currency) "attribute";
90 variant (value_) "name as 'value'";
91 variant (value_) "attribute";
970ed795
EL
92};
93
94
95}
96with {
3f84031e 97 encode "XML";
98 variant "namespace as 'www.XmlTest.org/complex2' prefix 'ns42'";
99 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
970ed795 100}
This page took 0.028362 seconds and 5 git commands to generate.