Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_namespaceas_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/4 R3A
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_namespaceas.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Tue Sep 15 11:21:37 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - namespaceas.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/namespaceas_e" */
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_namespaceas_e {
37
38
39import from XSD all;
40
41
42import from www_example_org_imported2 all;
43
44
45type Foobar SomeType
46with {
3f84031e 47 variant "element";
3abe9331 48};
49
50
51type record Type
52{
53 Foobar something optional,
54 Foobar foobar
55}
56with {
3f84031e 57 variant "element";
58 variant (foobar) "namespace as 'www.example.org/imported2' prefix 'other'";
3abe9331 59};
60
61
62type record OtherType
63{
64 XSD.Integer billingAccountNumber,
65 record {
66 Foobar base
67 } something,
68 record {
69 Bar base
70 } something2,
71 record {
72 XSD.String something optional
73 } something3,
74 record {
75 XSD.String something
76 } something4
77}
78with {
3f84031e 79 variant (billingAccountNumber) "namespace as 'www.example.org/imported2' prefix 'other'";
80 variant (something.base) "namespace as 'www.example.org/imported2' prefix 'other'";
81 variant (something.base) "untagged";
82 variant (something2.base) "namespace as 'www.example.org/imported2' prefix 'other'";
83 variant (something2.base) "untagged";
3abe9331 84};
85
86
87}
88with {
3f84031e 89 encode "XML";
90 variant "namespace as 'www.example.org/namespaceas' prefix 'this'";
91 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 92}
This page took 0.027435 seconds and 5 git commands to generate.