Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_type_substitution_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_type_substitution_rename_e.ttcn
3abe9331 13// Description:
14// References:
15// Rev:
16// Prodnr:
51fa56b9 17// Updated: Wed Nov 25 14:43:08 2014
3abe9331 18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
51fa56b9 22// - type_substitution_rename_e.xsd
23// /* xml version = "1.0" */
24// /* targetnamespace = "www.example.org/type/substitution/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_type_substitution_rename {
3abe9331 37
38
39import from XSD all;
40
41
51fa56b9 42type record Complex
43{
44 ParentType parentType,
45 ParentType_derivations sd
46}
47with {
3f84031e 48 variant "element";
51fa56b9 49};
50
51
52type ParentType_derivations ParentType
53with {
3f84031e 54 variant "name as uncapitalized";
55 variant "element";
51fa56b9 56};
57
58
59type record ParentType_1
60{
61 record of XSD.String foo_list
62}
3abe9331 63with {
3f84031e 64 variant "name as 'ParentType'";
65 variant (foo_list) "untagged";
66 variant (foo_list[-]) "name as 'foo'";
3abe9331 67};
68
69
51fa56b9 70type RestrictedType_1 RestrictedType
71with {
3f84031e 72 variant "element";
51fa56b9 73};
74
75
76type record RestrictedType_1
77{
78 record length(1 .. infinity) of XSD.String foo_list
79}
80with {
3f84031e 81 variant "name as 'restrictedType'";
82 variant (foo_list) "untagged";
83 variant (foo_list[-]) "name as 'foo'";
51fa56b9 84};
85
86
87type union ParentType_derivations
88{
89 ParentType_1 parentType,
90 RestrictedType_1 restrictedType
91}
3abe9331 92with {
3f84031e 93 variant "useType";
94 variant (parentType) "name as capitalized";
3abe9331 95};
96
97
98}
99with {
3f84031e 100 encode "XML";
101 variant "namespace as 'www.example.org/type/substitution/rename' prefix 'this'";
102 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 103}
This page took 0.029542 seconds and 5 git commands to generate.