Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_substitutiongroup_complextype_block_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_complextype_block_e.ttcn
3abe9331 13// Description:
14// References:
15// Rev:
16// Prodnr:
51fa56b9 17// Updated: Thu Nov 12 12:43:46 2014
3abe9331 18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
51fa56b9 22// - substitutiongroup_complextype_block_e.xsd
3abe9331 23// /* xml version = "1.0" encoding = "UTF-8" */
51fa56b9 24// /* targetnamespace = "www.example.org/substitutiongroup/complextype/block/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_complextype_block {
3abe9331 37
38
39import from XSD all;
40
41
51fa56b9 42/* SUBSTITUTABLE PARENT TYPE */
43
44
45type record ParentType
46{
47 record of XSD.String foo_list,
48 XSD.String bar
49}
50with {
3f84031e 51 variant (foo_list) "untagged";
52 variant (foo_list[-]) "name as 'foo'";
51fa56b9 53};
54
55
56type RestrictedType RestrictedTypeElem
3abe9331 57with {
3f84031e 58 variant "element";
3abe9331 59};
60
61
51fa56b9 62/* The restricting type is: */
63
64
65type record RestrictedType
66{
67 record length(1 .. infinity) of XSD.String foo_list,
68 XSD.String bar
69}
70with {
3f84031e 71 variant "name as uncapitalized";
72 variant (foo_list) "untagged";
73 variant (foo_list[-]) "name as 'foo'";
51fa56b9 74};
75
76
77type union Head_group
78{
79 RestrictedType head,
80 RestrictedTypeElem restrictedTypeElem
81}
3abe9331 82with {
3f84031e 83 variant "untagged";
84 variant (head) "form as qualified";
85 variant (restrictedTypeElem) "name as capitalized";
86 variant (restrictedTypeElem) "block";
3abe9331 87};
88
89
90}
91with {
3f84031e 92 encode "XML";
93 variant "namespace as 'www.example.org/substitutiongroup/complextype/block' prefix 'this'";
94 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 95}
This page took 0.02831 seconds and 5 git commands to generate.