Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_substitutiongroup_rename_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
51fa56b9 2* Copyright (c) 2000-2015 Ericsson Telecom AB
3abe9331 3*
4* XSD to TTCN-3 Translator version: CRL 113 200/5 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//
51fa56b9 12// File: www_example_org_substitutiongroup_rename_e.ttcn
3abe9331 13// Description:
14// References:
15// Rev:
16// Prodnr:
51fa56b9 17// Updated: Wed Nov 25 14:32:37 2014
3abe9331 18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
51fa56b9 22// - substitutiongroup_rename_e.xsd
23// /* xml version = "1.0" */
24// /* targetnamespace = "www.example.org/substitutiongroup/rename/e" */
3abe9331 25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
51fa56b9 36module www_example_org_substitutiongroup_rename {
3abe9331 37
38
39import from XSD all;
40
41
51fa56b9 42type record BaseElement_1
43{
44
45}
46with {
3f84031e 47 variant "name as 'BaseElement_'";
51fa56b9 48};
49
50
51type record Audit
52{
53 BaseElement_group baseElement optional
54}
55with {
3f84031e 56 variant (baseElement) "name as capitalized";
51fa56b9 57};
58
59
60type XSD.Integer Case
61with {
3f84031e 62 variant "abstract";
63 variant "element";
51fa56b9 64};
65
66
67type XSD.String BaseElement
3abe9331 68with {
3f84031e 69 variant "name as 'BaseElement__'";
70 variant "abstract";
71 variant "element";
3abe9331 72};
73
74
51fa56b9 75type Audit Case_1
76with {
3f84031e 77 variant "name as 'Case_'";
78 variant "element";
51fa56b9 79};
80
81
82type union BaseElement_group
83{
84 BaseElement_1 baseElement,
85 Case_1 case_
86}
3abe9331 87with {
3f84031e 88 variant "untagged";
89 variant (baseElement) "name as capitalized";
90 variant (baseElement) "form as qualified";
91 variant (baseElement) "abstract";
92 variant (case_) "name as capitalized";
3abe9331 93};
94
95
96}
97with {
3f84031e 98 encode "XML";
99 variant "namespace as 'www.example.org/substitutiongroup/rename' prefix 'this'";
100 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 101}
This page took 0.029381 seconds and 5 git commands to generate.