Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / tail_f_com_ns_confd_1_0_e.ttcn
CommitLineData
970ed795
EL
1/*******************************************************************************
2* Copyright Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator
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: tail_f_com_ns_confd_1_0_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Jan 28 15:35:13 2010
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21//
22// Generated from file(s):
23//
24// - confd.xsd
25// /* xml version = "1.0" encoding = "UTF-8" */
26// /* targetnamespace = "http://tail-f.com/ns/confd/1.0" */
27//
28////////////////////////////////////////////////////////////////////////////////
29
30
31module tail_f_com_ns_confd_1_0_e {
32
33
34import from XSD all;
35
36
37type union InetAddress
38{
39 InetAddressIPv4 inetAddressIPv4,
40 InetAddressIPv6 inetAddressIPv6,
41 InetAddressDNS inetAddressDNS
42}
43with {
3f84031e 44 variant "name as uncapitalized";
45 variant "useUnion";
970ed795
EL
46};
47
48
49type union InetAddressIP
50{
51 InetAddressIPv4 inetAddressIPv4,
52 InetAddressIPv6 inetAddressIPv6
53}
54with {
3f84031e 55 variant "name as uncapitalized";
56 variant "useUnion";
970ed795
EL
57};
58
59
60type XSD.String InetAddressIPv4 (pattern "(([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5]).)#(1,3)([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5])") length(7 .. 15)
61with {
3f84031e 62 variant "name as uncapitalized";
970ed795
EL
63};
64
65
66/* Full */
67/* Mixed */
68/* Shortened */
69/* Shortened mixed */
70type XSD.String InetAddressIPv6 (pattern "(([0-9a-fA-F]#(1,4):)*([0-9a-fA-F]#(1,4)))*(::)(([0-9a-fA-F]#(1,4):)*([0-9a-fA-F]#(1,4)))*(([0-9]#(1,3).[0-9]#(1,3).[0-9]#(1,3).[0-9]#(1,3)))") length(0 .. 39)
71with {
3f84031e 72 variant "name as uncapitalized";
970ed795
EL
73};
74
75
76type XSD.String InetAddressDNS
77with {
3f84031e 78 variant "name as uncapitalized";
970ed795
EL
79};
80
81
82type XSD.UnsignedShort InetPortNumber
83with {
3f84031e 84 variant "name as uncapitalized";
970ed795
EL
85};
86
87
88type XSD.String Size (pattern "S([0-9]+G)#(0,1)([0-9]+M)#(0,1)([0-9]+K)#(0,1)([0-9]+B)#(0,1)")
89with {
3f84031e 90 variant "name as uncapitalized";
970ed795
EL
91};
92
93
94type XSD.String MD5DigestString;
95
96
97type XSD.String DES3CBCEncryptedString;
98
99
100type XSD.String AESCFB128EncryptedString;
101
102
103type XSD.String Atom
104with {
3f84031e 105 variant "name as uncapitalized";
970ed795
EL
106};
107
108
109type XSD.String HexValue (pattern "[0-9a-fA-F]*")
110with {
3f84031e 111 variant "name as uncapitalized";
970ed795
EL
112};
113
114
115type XSD.String HexList
116with {
3f84031e 117 variant "name as uncapitalized";
970ed795
EL
118};
119
120
121type XSD.String OctetList (pattern "(([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5]).)*([0-1]#(0,1)[0-9]#(0,1)[0-9]|2[0-4][0-9]|25[0-5])")
122with {
3f84031e 123 variant "name as uncapitalized";
970ed795
EL
124};
125
126
127type XSD.String Oid (pattern "(([0-9]#(0,1)[0-9]*).)*([0-9]#(0,1)[0-9]*)#(0,1)")
128with {
3f84031e 129 variant "name as uncapitalized";
970ed795
EL
130};
131
132
133type XSD.String ObjectRef
134with {
3f84031e 135 variant "name as uncapitalized";
970ed795
EL
136};
137
138
139type XSD.UnsignedInt Counter32;
140
141
142type XSD.UnsignedLong Counter64;
143
144
145type XSD.UnsignedInt Gauge32;
146
147
148type union IpPrefix
149{
150 Ipv4Prefix alt_,
151 Ipv6Prefix alt_1
152}
153with {
3f84031e 154 variant "name as uncapitalized";
155 variant "useUnion";
156 variant (alt_) "name as ''";
157 variant (alt_1) "name as ''";
970ed795
EL
158};
159
160
161/* Pattern is not converted due to using character categories and blocks in patterns is not supported. */
162type XSD.String Ipv4Prefix
163with {
3f84031e 164 variant "name as uncapitalized";
970ed795
EL
165};
166
167
168/* Pattern is not converted due to using character categories and blocks in patterns is not supported. */
169type XSD.String Ipv6Prefix
170with {
3f84031e 171 variant "name as uncapitalized";
970ed795
EL
172};
173
174
175type XSD.AnySimpleType Default
176with {
3f84031e 177 variant "name as uncapitalized";
178 variant "attribute";
970ed795
EL
179};
180
181
182type XSD.Boolean Config
183with {
3f84031e 184 variant "name as uncapitalized";
185 variant "attribute";
970ed795
EL
186};
187
188
189type XSD.String ErrorMessage
190with {
3f84031e 191 variant "name as uncapitalized";
192 variant "element";
970ed795
EL
193};
194
195
196}
197with {
3f84031e 198 encode "XML";
199 variant "namespace as 'http://tail-f.com/ns/confd/1.0'";
200 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
970ed795 201}
This page took 0.036639 seconds and 5 git commands to generate.