blob: 5ec80dc058f446e0784cd3edc2277c2ed4c14065 [file] [log] [blame]
david_williams524ed602007-05-15 02:42:24 +00001<?xml version='1.0' encoding='UTF-8' ?>
2
3<!-- Schema for the SOAP/1.1 encoding
4
5Portions © 2001 DevelopMentor.
6© 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
7
8This document is governed by the W3C Software License [1] as described in the FAQ [2].
9[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
10[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
11By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions:
12
13Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make:
14
151. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
16
172. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
18
193. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
20
21Original W3C files; http://www.w3.org/2001/06/soap-encoding
22Changes made:
23 - reverted namespace to http://schemas.xmlsoap.org/soap/encoding/
24 - reverted root to only allow 0 and 1 as lexical values
25 - removed default value from root attribute declaration
26
27THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
28
29COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
30
31The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
32
33-->
34<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
35 xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/"
36 targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" >
37
38 <xs:attribute name="root" >
39 <xs:annotation>
40 <xs:documentation>
41 'root' can be used to distinguish serialization roots from other
42 elements that are present in a serialization but are not roots of
43 a serialized value graph
44 </xs:documentation>
45 </xs:annotation>
46 <xs:simpleType>
47
48 <xs:restriction base='xs:boolean'>
49 <xs:pattern value='0|1' />
50 </xs:restriction>
51 </xs:simpleType>
52 </xs:attribute>
53
54 <xs:attributeGroup name="commonAttributes" >
55 <xs:annotation>
56 <xs:documentation>
57
58 Attributes common to all elements that function as accessors or
59 represent independent (multi-ref) values. The href attribute is
60 intended to be used in a manner like CONREF. That is, the element
61 content should be empty iff the href attribute appears
62 </xs:documentation>
63 </xs:annotation>
64 <xs:attribute name="id" type="xs:ID" />
65 <xs:attribute name="href" type="xs:anyURI" />
66 <xs:anyAttribute namespace="##other" processContents="lax" />
67 </xs:attributeGroup>
68
69 <!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. -->
70
71 <!-- Array attributes. Needed to give the type and dimensions of an array's contents, and the offset for partially-transmitted arrays. -->
72
73
74 <xs:simpleType name="arrayCoordinate" >
75 <xs:restriction base="xs:string" />
76 </xs:simpleType>
77
78 <xs:attribute name="arrayType" type="xs:string" />
79 <xs:attribute name="offset" type="tns:arrayCoordinate" />
80
81 <xs:attributeGroup name="arrayAttributes" >
82 <xs:attribute ref="tns:arrayType" />
83 <xs:attribute ref="tns:offset" />
84 </xs:attributeGroup>
85
86 <xs:attribute name="position" type="tns:arrayCoordinate" />
87
88 <xs:attributeGroup name="arrayMemberAttributes" >
89
90 <xs:attribute ref="tns:position" />
91 </xs:attributeGroup>
92
93 <xs:group name="Array" >
94 <xs:sequence>
95 <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
96 </xs:sequence>
97 </xs:group>
98
99 <xs:element name="Array" type="tns:Array" />
100 <xs:complexType name="Array" >
101
102 <xs:annotation>
103 <xs:documentation>
104 'Array' is a complex type for accessors identified by position
105 </xs:documentation>
106 </xs:annotation>
107 <xs:group ref="tns:Array" minOccurs="0" />
108 <xs:attributeGroup ref="tns:arrayAttributes" />
109 <xs:attributeGroup ref="tns:commonAttributes" />
110 </xs:complexType>
111
112 <!-- 'Struct' is a complex type for accessors identified by name.
113 Constraint: No element may be have the same name as any other,
114 nor may any element have a maxOccurs > 1. -->
115
116
117 <xs:element name="Struct" type="tns:Struct" />
118
119 <xs:group name="Struct" >
120 <xs:sequence>
121 <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
122 </xs:sequence>
123 </xs:group>
124
125 <xs:complexType name="Struct" >
126 <xs:group ref="tns:Struct" minOccurs="0" />
127
128 <xs:attributeGroup ref="tns:commonAttributes"/>
129 </xs:complexType>
130
131 <!-- 'Base64' can be used to serialize binary data using base64 encoding
132 as defined in RFC2045 but without the MIME line length limitation. -->
133
134 <xs:simpleType name="base64" >
135 <xs:restriction base="xs:base64Binary" />
136 </xs:simpleType>
137
138 <!-- Element declarations corresponding to each of the simple types in the
139 XML Schemas Specification. -->
140
141 <xs:element name="duration" type="tns:duration" />
142
143 <xs:complexType name="duration" >
144 <xs:simpleContent>
145 <xs:extension base="xs:duration" >
146 <xs:attributeGroup ref="tns:commonAttributes" />
147 </xs:extension>
148 </xs:simpleContent>
149 </xs:complexType>
150
151 <xs:element name="dateTime" type="tns:dateTime" />
152
153 <xs:complexType name="dateTime" >
154 <xs:simpleContent>
155 <xs:extension base="xs:dateTime" >
156 <xs:attributeGroup ref="tns:commonAttributes" />
157 </xs:extension>
158 </xs:simpleContent>
159 </xs:complexType>
160
161
162
163 <xs:element name="NOTATION" type="tns:NOTATION" />
164 <xs:complexType name="NOTATION" >
165 <xs:simpleContent>
166 <xs:extension base="xs:QName" >
167 <xs:attributeGroup ref="tns:commonAttributes" />
168 </xs:extension>
169 </xs:simpleContent>
170 </xs:complexType>
171
172
173 <xs:element name="time" type="tns:time" />
174
175 <xs:complexType name="time" >
176 <xs:simpleContent>
177 <xs:extension base="xs:time" >
178 <xs:attributeGroup ref="tns:commonAttributes" />
179 </xs:extension>
180 </xs:simpleContent>
181 </xs:complexType>
182
183 <xs:element name="date" type="tns:date" />
184
185 <xs:complexType name="date" >
186 <xs:simpleContent>
187 <xs:extension base="xs:date" >
188 <xs:attributeGroup ref="tns:commonAttributes" />
189 </xs:extension>
190 </xs:simpleContent>
191 </xs:complexType>
192
193 <xs:element name="gYearMonth" type="tns:gYearMonth" />
194
195 <xs:complexType name="gYearMonth" >
196 <xs:simpleContent>
197 <xs:extension base="xs:gYearMonth" >
198 <xs:attributeGroup ref="tns:commonAttributes" />
199 </xs:extension>
200 </xs:simpleContent>
201 </xs:complexType>
202
203 <xs:element name="gYear" type="tns:gYear" />
204
205 <xs:complexType name="gYear" >
206 <xs:simpleContent>
207 <xs:extension base="xs:gYear" >
208 <xs:attributeGroup ref="tns:commonAttributes" />
209 </xs:extension>
210 </xs:simpleContent>
211 </xs:complexType>
212
213 <xs:element name="gMonthDay" type="tns:gMonthDay" />
214
215 <xs:complexType name="gMonthDay" >
216 <xs:simpleContent>
217 <xs:extension base="xs:gMonthDay" >
218 <xs:attributeGroup ref="tns:commonAttributes" />
219 </xs:extension>
220 </xs:simpleContent>
221 </xs:complexType>
222
223 <xs:element name="gDay" type="tns:gDay" />
224
225 <xs:complexType name="gDay" >
226 <xs:simpleContent>
227 <xs:extension base="xs:gDay" >
228 <xs:attributeGroup ref="tns:commonAttributes" />
229 </xs:extension>
230 </xs:simpleContent>
231 </xs:complexType>
232
233 <xs:element name="gMonth" type="tns:gMonth" />
234
235 <xs:complexType name="gMonth" >
236 <xs:simpleContent>
237 <xs:extension base="xs:gMonth" >
238 <xs:attributeGroup ref="tns:commonAttributes" />
239 </xs:extension>
240 </xs:simpleContent>
241 </xs:complexType>
242
243 <xs:element name="boolean" type="tns:boolean" />
244 <xs:complexType name="boolean" >
245
246 <xs:simpleContent>
247 <xs:extension base="xs:boolean" >
248 <xs:attributeGroup ref="tns:commonAttributes" />
249 </xs:extension>
250 </xs:simpleContent>
251 </xs:complexType>
252
253 <xs:element name="base64Binary" type="tns:base64Binary" />
254 <xs:complexType name="base64Binary" >
255
256 <xs:simpleContent>
257 <xs:extension base="xs:base64Binary" >
258 <xs:attributeGroup ref="tns:commonAttributes" />
259 </xs:extension>
260 </xs:simpleContent>
261 </xs:complexType>
262
263 <xs:element name="hexBinary" type="tns:hexBinary" />
264 <xs:complexType name="hexBinary" >
265
266 <xs:simpleContent>
267 <xs:extension base="xs:hexBinary" >
268 <xs:attributeGroup ref="tns:commonAttributes" />
269 </xs:extension>
270 </xs:simpleContent>
271 </xs:complexType>
272
273 <xs:element name="float" type="tns:float" />
274 <xs:complexType name="float" >
275
276 <xs:simpleContent>
277 <xs:extension base="xs:float" >
278 <xs:attributeGroup ref="tns:commonAttributes" />
279 </xs:extension>
280 </xs:simpleContent>
281 </xs:complexType>
282
283 <xs:element name="double" type="tns:double" />
284 <xs:complexType name="double" >
285
286 <xs:simpleContent>
287 <xs:extension base="xs:double" >
288 <xs:attributeGroup ref="tns:commonAttributes" />
289 </xs:extension>
290 </xs:simpleContent>
291 </xs:complexType>
292
293 <xs:element name="anyURI" type="tns:anyURI" />
294 <xs:complexType name="anyURI" >
295
296 <xs:simpleContent>
297 <xs:extension base="xs:anyURI" >
298 <xs:attributeGroup ref="tns:commonAttributes" />
299 </xs:extension>
300 </xs:simpleContent>
301 </xs:complexType>
302
303 <xs:element name="QName" type="tns:QName" />
304 <xs:complexType name="QName" >
305
306 <xs:simpleContent>
307 <xs:extension base="xs:QName" >
308 <xs:attributeGroup ref="tns:commonAttributes" />
309 </xs:extension>
310 </xs:simpleContent>
311 </xs:complexType>
312
313
314 <xs:element name="string" type="tns:string" />
315 <xs:complexType name="string" >
316
317 <xs:simpleContent>
318 <xs:extension base="xs:string" >
319 <xs:attributeGroup ref="tns:commonAttributes" />
320 </xs:extension>
321 </xs:simpleContent>
322 </xs:complexType>
323
324 <xs:element name="normalizedString" type="tns:normalizedString" />
325 <xs:complexType name="normalizedString" >
326
327 <xs:simpleContent>
328 <xs:extension base="xs:normalizedString" >
329 <xs:attributeGroup ref="tns:commonAttributes" />
330 </xs:extension>
331 </xs:simpleContent>
332 </xs:complexType>
333
334 <xs:element name="token" type="tns:token" />
335 <xs:complexType name="token" >
336
337 <xs:simpleContent>
338 <xs:extension base="xs:token" >
339 <xs:attributeGroup ref="tns:commonAttributes" />
340 </xs:extension>
341 </xs:simpleContent>
342 </xs:complexType>
343
344 <xs:element name="language" type="tns:language" />
345 <xs:complexType name="language" >
346
347 <xs:simpleContent>
348 <xs:extension base="xs:language" >
349 <xs:attributeGroup ref="tns:commonAttributes" />
350 </xs:extension>
351 </xs:simpleContent>
352 </xs:complexType>
353
354 <xs:element name="Name" type="tns:Name" />
355 <xs:complexType name="Name" >
356
357 <xs:simpleContent>
358 <xs:extension base="xs:Name" >
359 <xs:attributeGroup ref="tns:commonAttributes" />
360 </xs:extension>
361 </xs:simpleContent>
362 </xs:complexType>
363
364 <xs:element name="NMTOKEN" type="tns:NMTOKEN" />
365 <xs:complexType name="NMTOKEN" >
366
367 <xs:simpleContent>
368 <xs:extension base="xs:NMTOKEN" >
369 <xs:attributeGroup ref="tns:commonAttributes" />
370 </xs:extension>
371 </xs:simpleContent>
372 </xs:complexType>
373
374 <xs:element name="NCName" type="tns:NCName" />
375 <xs:complexType name="NCName" >
376
377 <xs:simpleContent>
378 <xs:extension base="xs:NCName" >
379 <xs:attributeGroup ref="tns:commonAttributes" />
380 </xs:extension>
381 </xs:simpleContent>
382 </xs:complexType>
383
384 <xs:element name="NMTOKENS" type="tns:NMTOKENS" />
385 <xs:complexType name="NMTOKENS" >
386
387 <xs:simpleContent>
388 <xs:extension base="xs:NMTOKENS" >
389 <xs:attributeGroup ref="tns:commonAttributes" />
390 </xs:extension>
391 </xs:simpleContent>
392 </xs:complexType>
393
394 <xs:element name="ID" type="tns:ID" />
395 <xs:complexType name="ID" >
396
397 <xs:simpleContent>
398 <xs:extension base="xs:ID" >
399 <xs:attributeGroup ref="tns:commonAttributes" />
400 </xs:extension>
401 </xs:simpleContent>
402 </xs:complexType>
403
404 <xs:element name="IDREF" type="tns:IDREF" />
405 <xs:complexType name="IDREF" >
406
407 <xs:simpleContent>
408 <xs:extension base="xs:IDREF" >
409 <xs:attributeGroup ref="tns:commonAttributes" />
410 </xs:extension>
411 </xs:simpleContent>
412 </xs:complexType>
413
414 <xs:element name="ENTITY" type="tns:ENTITY" />
415 <xs:complexType name="ENTITY" >
416
417 <xs:simpleContent>
418 <xs:extension base="xs:ENTITY" >
419 <xs:attributeGroup ref="tns:commonAttributes" />
420 </xs:extension>
421 </xs:simpleContent>
422 </xs:complexType>
423
424 <xs:element name="IDREFS" type="tns:IDREFS" />
425 <xs:complexType name="IDREFS" >
426
427 <xs:simpleContent>
428 <xs:extension base="xs:IDREFS" >
429 <xs:attributeGroup ref="tns:commonAttributes" />
430 </xs:extension>
431 </xs:simpleContent>
432 </xs:complexType>
433
434 <xs:element name="ENTITIES" type="tns:ENTITIES" />
435 <xs:complexType name="ENTITIES" >
436
437 <xs:simpleContent>
438 <xs:extension base="xs:ENTITIES" >
439 <xs:attributeGroup ref="tns:commonAttributes" />
440 </xs:extension>
441 </xs:simpleContent>
442 </xs:complexType>
443
444 <xs:element name="decimal" type="tns:decimal" />
445 <xs:complexType name="decimal" >
446
447 <xs:simpleContent>
448 <xs:extension base="xs:decimal" >
449 <xs:attributeGroup ref="tns:commonAttributes" />
450 </xs:extension>
451 </xs:simpleContent>
452 </xs:complexType>
453
454 <xs:element name="integer" type="tns:integer" />
455 <xs:complexType name="integer" >
456
457 <xs:simpleContent>
458 <xs:extension base="xs:integer" >
459 <xs:attributeGroup ref="tns:commonAttributes" />
460 </xs:extension>
461 </xs:simpleContent>
462 </xs:complexType>
463
464 <xs:element name="nonPositiveInteger" type="tns:nonPositiveInteger" />
465 <xs:complexType name="nonPositiveInteger" >
466
467 <xs:simpleContent>
468 <xs:extension base="xs:nonPositiveInteger" >
469 <xs:attributeGroup ref="tns:commonAttributes" />
470 </xs:extension>
471 </xs:simpleContent>
472 </xs:complexType>
473
474 <xs:element name="negativeInteger" type="tns:negativeInteger" />
475 <xs:complexType name="negativeInteger" >
476
477 <xs:simpleContent>
478 <xs:extension base="xs:negativeInteger" >
479 <xs:attributeGroup ref="tns:commonAttributes" />
480 </xs:extension>
481 </xs:simpleContent>
482 </xs:complexType>
483
484 <xs:element name="long" type="tns:long" />
485 <xs:complexType name="long" >
486
487 <xs:simpleContent>
488 <xs:extension base="xs:long" >
489 <xs:attributeGroup ref="tns:commonAttributes" />
490 </xs:extension>
491 </xs:simpleContent>
492 </xs:complexType>
493
494 <xs:element name="int" type="tns:int" />
495 <xs:complexType name="int" >
496
497 <xs:simpleContent>
498 <xs:extension base="xs:int" >
499 <xs:attributeGroup ref="tns:commonAttributes" />
500 </xs:extension>
501 </xs:simpleContent>
502 </xs:complexType>
503
504 <xs:element name="short" type="tns:short" />
505 <xs:complexType name="short" >
506
507 <xs:simpleContent>
508 <xs:extension base="xs:short" >
509 <xs:attributeGroup ref="tns:commonAttributes" />
510 </xs:extension>
511 </xs:simpleContent>
512 </xs:complexType>
513
514 <xs:element name="byte" type="tns:byte" />
515 <xs:complexType name="byte" >
516
517 <xs:simpleContent>
518 <xs:extension base="xs:byte" >
519 <xs:attributeGroup ref="tns:commonAttributes" />
520 </xs:extension>
521 </xs:simpleContent>
522 </xs:complexType>
523
524 <xs:element name="nonNegativeInteger" type="tns:nonNegativeInteger" />
525 <xs:complexType name="nonNegativeInteger" >
526
527 <xs:simpleContent>
528 <xs:extension base="xs:nonNegativeInteger" >
529 <xs:attributeGroup ref="tns:commonAttributes" />
530 </xs:extension>
531 </xs:simpleContent>
532 </xs:complexType>
533
534 <xs:element name="unsignedLong" type="tns:unsignedLong" />
535 <xs:complexType name="unsignedLong" >
536
537 <xs:simpleContent>
538 <xs:extension base="xs:unsignedLong" >
539 <xs:attributeGroup ref="tns:commonAttributes" />
540 </xs:extension>
541 </xs:simpleContent>
542 </xs:complexType>
543
544 <xs:element name="unsignedInt" type="tns:unsignedInt" />
545 <xs:complexType name="unsignedInt" >
546
547 <xs:simpleContent>
548 <xs:extension base="xs:unsignedInt" >
549 <xs:attributeGroup ref="tns:commonAttributes" />
550 </xs:extension>
551 </xs:simpleContent>
552 </xs:complexType>
553
554 <xs:element name="unsignedShort" type="tns:unsignedShort" />
555 <xs:complexType name="unsignedShort" >
556
557 <xs:simpleContent>
558 <xs:extension base="xs:unsignedShort" >
559 <xs:attributeGroup ref="tns:commonAttributes" />
560 </xs:extension>
561 </xs:simpleContent>
562 </xs:complexType>
563
564 <xs:element name="unsignedByte" type="tns:unsignedByte" />
565 <xs:complexType name="unsignedByte" >
566
567 <xs:simpleContent>
568 <xs:extension base="xs:unsignedByte" >
569 <xs:attributeGroup ref="tns:commonAttributes" />
570 </xs:extension>
571 </xs:simpleContent>
572 </xs:complexType>
573
574 <xs:element name="positiveInteger" type="tns:positiveInteger" />
575 <xs:complexType name="positiveInteger" >
576
577 <xs:simpleContent>
578 <xs:extension base="xs:positiveInteger" >
579 <xs:attributeGroup ref="tns:commonAttributes" />
580 </xs:extension>
581 </xs:simpleContent>
582 </xs:complexType>
583
584 <xs:element name="anyType" />
585</xs:schema>