Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_anyattrib_single_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/5 R31
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_anyattrib_single_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Fri Aug 28 10:17:20 2013
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - anyattrib_single.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/anyattrib/single" */
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_anyattrib_single_e {
37
38
39import from XSD all;
40
41
42type record E25seq
43{
44 XSD.Token attrInGroup1 optional,
45 XSD.Token attrInGroup2 optional,
46 record of XSD.String attr optional,
47 XSD.String titleElemBase,
48 XSD.String forenameElemBase,
49 XSD.String surnameElemBase
50}
51with {
52variant "name as uncapitalized";
53variant (attrInGroup1) "attribute";
54variant (attrInGroup2) "attribute";
55variant (attr) "anyAttributes from 'http://www.w3.org/1999/xhtml','www.example.org/anyattrib/single','www.example.org/anyattrib/single'";
56};
57
58
59type record E45c
60{
61 record of XSD.String attr optional
62}
63with {
64variant "name as uncapitalized";
65variant "element";
66variant (attr) "anyAttributes from unqualified,'http://www.example.org/attribute'";
67};
68
69
70type record E45d
71{
72 record of XSD.String attr optional
73}
74with {
75variant "name as uncapitalized";
76variant "element";
77variant (attr) "anyAttributes from 'www.example.org/anyattrib/single',unqualified,'http://www.example.org/attribute'";
78};
79
80
81type record ExtBase
82{
83 record of XSD.String attr optional,
84 XSD.String field
85}
86with {
87variant (attr) "anyAttributes from 'www.example.org/anyattrib/single'";
88};
89
90
91type record MyType
92{
93 XSD.String ding optional,
94 record of XSD.String attr optional,
95 XSD.String field
96}
97with {
98variant "element";
99variant (ding) "attribute";
100variant (attr) "anyAttributes from 'www.example.org/anyattrib/single'";
101};
102
103
104type record ExtBase2
105{
106 record of XSD.String attr optional,
107 XSD.String field
108}
109with {
110variant (attr) "anyAttributes except unqualified, 'www.example.org/anyattrib/single'";
111};
112
113
114type record MyType2
115{
116 XSD.String ding optional,
117 record of XSD.String attr optional,
118 XSD.String field
119}
120with {
121variant "element";
122variant (ding) "attribute";
123variant (attr) "anyAttributes from 'www.example.org/anyattrib/single',unqualified, 'www.example.org/anyattrib/single'";
124};
125
126
127}
128with {
129encode "XML";
130variant "namespace as 'www.example.org/anyattrib/single' prefix 'this'";
131variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
132}
This page took 0.030216 seconds and 5 git commands to generate.