source: trunk/third/soup/docs/soap-encoding.txt @ 18149

Revision 18149, 11.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18148, which included commits to RCS files with non-trunk default branches.
Line 
1<?xml version='1.0'?>
2<!-- XML Schema for SOAP v 1.1 Encoding -->
3
4<!-- Copyright 2000 DevelopMentor, International Business Machines Corporation,
5     Lotus Development Corporation, Microsoft, UserLand Software -->
6
7<schema xmlns='http://www.w3.org/1999/XMLSchema'
8        xmlns:tns='http://schemas.xmlsoap.org/soap/encoding/'
9        targetNamespace='http://schemas.xmlsoap.org/soap/encoding/'>
10       
11 <!-- 'root' can be used to distinguish serialization roots from other
12       elements that are present in a serialization but are not roots of
13       a serialized value graph. -->
14
15 <attribute name='root' default='0'>
16    <simpleType base='boolean'>
17      <pattern value='0|1'/>
18    </simpleType>
19 </attribute>
20 
21  <!-- Attributes common to all elements that function as accessors or
22       represent independent (multi-ref) values.  The href attribute is
23       intended to be used in a manner like CONREF.  That is, the element
24       content should be empty iff the href attribute appears. -->     
25       
26  <attributeGroup name='commonAttributes'>
27    <attribute name='id' type='ID'/>
28    <attribute name='href' type='uriReference'/>
29    <anyAttribute namespace='##other'/>
30  </attributeGroup>
31
32  <!-- Global Attributes.  The following attributes are intended
33       to be usable via qualified attribute names on any complex type
34       referencing them. -->
35       
36  <!-- Array attributes. Needed to give the type and dimensions of an array's
37       contents, and the offset for partially-transmitted arrays. -->
38   
39  <simpleType name='arrayCoordinate' base='string'/>
40         
41  <attribute name='arrayType' type='string'/>
42  <attribute name='offset' type='tns:arrayCoordinate'/>
43 
44  <attributeGroup name='arrayAttributes'>
45    <attribute ref='tns:arrayType' minOccurs='1' />
46    <attribute ref='tns:offset'/>
47  </attributeGroup>   
48 
49  <attribute name='position' type='tns:arrayCoordinate'/>
50 
51  <attributeGroup name='arrayMemberAttributes'>
52    <attribute ref='tns:position'/>
53  </attributeGroup>   
54 
55  <!-- 'Array' is a complex type for accessors identified by position.
56   -->
57   
58  <element name='Array' type='tns:Array'/>
59  <group name='Array'>
60    <any minOccurs='0' maxOccurs='*'/>
61  </group>
62  <complexType name='Array' content='elementOnly'>
63    <group ref='Array' minOccurs='0' maxOccurs='1'/>
64    <attributeGroup ref='tns:arrayAttributes'/>
65    <attributeGroup ref='tns:commonAttributes'/>
66  </complexType>
67   
68  <!-- 'Struct' is a complex type for accessors identified by name.
69       Constraint: No element may be have the same name as any other,
70       nor may any element have a maxOccurs > 1. -->
71   
72  <element name='Struct' type='tns:Struct'/>
73  <group name='Struct'>
74      <any minOccurs='0' maxOccurs='*'/>
75  </group>
76  <complexType name='Struct'>
77    <group ref='Struct' minOccurs='0' maxOccurs='1'/>
78    <attributeGroup ref='tns:commonAttributes'/>
79  </complexType>
80
81  <!-- 'Base64' can be used to serialize binary data using base64 encoding
82       as defined in RFC2045 but without the MIME line length limitation. -->
83
84  <simpleType name='base64' base='binary'>
85    <encoding value='base64'/>
86  </simpleType>
87
88 <!-- Element declarations corresponding to each of the simple types in the
89      XML Schemas Specification. -->
90 
91  <element name='string' type='tns:string'/>
92  <complexType name='string' base='string' content='textOnly'>
93    <attributeGroup ref='tns:commonAttributes'/>
94  </complexType>
95
96  <element name='boolean' type='tns:boolean'/>
97  <complexType name='boolean' base='boolean' content='textOnly'>
98    <attributeGroup ref='tns:commonAttributes'/>
99  </complexType>
100
101  <element name='float' type='tns:float'/>
102  <complexType name='float' base='float' content='textOnly'>
103    <attributeGroup ref='tns:commonAttributes'/>
104  </complexType>
105
106  <element name='double' type='tns:double'/>
107  <complexType name='double' base='double' content='textOnly'>
108    <attributeGroup ref='tns:commonAttributes'/>
109  </complexType>
110
111  <element name='decimal' type='tns:decimal'/>
112  <complexType name='decimal' base='decimal' content='textOnly'>
113    <attributeGroup ref='tns:commonAttributes'/>
114  </complexType>
115
116  <element name='timeDuration' type='tns:timeDuration'/>
117  <complexType name='timeDuration' base='timeDuration' content='textOnly'>
118    <attributeGroup ref='tns:commonAttributes'/>
119  </complexType>
120
121  <element name='recurringDuration' type='tns:recurringDuration'/>
122  <complexType name='recurringDuration' base='recurringDuration' content='textOnly'>
123    <attributeGroup ref='tns:commonAttributes'/>
124  </complexType>
125
126  <element name='binary' type='tns:binary'/>
127  <complexType name='binary' base='binary' content='textOnly'>
128    <attributeGroup ref='tns:commonAttributes'/>
129  </complexType>
130
131  <element name='uriReference' type='tns:uriReference'/>
132  <complexType name='uriReference' base='uriReference' content='textOnly'>
133    <attributeGroup ref='tns:commonAttributes'/>
134  </complexType>
135
136  <element name='ID' type='tns:ID'/>
137  <complexType name='ID' base='ID' content='textOnly'>
138    <attributeGroup ref='tns:commonAttributes'/>
139  </complexType>
140
141  <element name='IDREF' type='tns:IDREF'/>
142  <complexType name='IDREF' base='IDREF' content='textOnly'>
143    <attributeGroup ref='tns:commonAttributes'/>
144  </complexType>
145
146  <element name='ENTITY' type='tns:ENTITY'/>
147  <complexType name='ENTITY' base='ENTITY' content='textOnly'>
148    <attributeGroup ref='tns:commonAttributes'/>
149  </complexType>
150
151  <element name='NOTATION' type='tns:NOTATION'/>
152  <complexType name='NOTATION' base='NOTATION' content='textOnly'>
153    <attributeGroup ref='tns:commonAttributes'/>
154  </complexType>
155
156  <element name='QName' type='tns:QName'/>
157  <complexType name='QName' base='QName' content='textOnly'>
158    <attributeGroup ref='tns:commonAttributes'/>
159  </complexType>
160
161  <element name='language' type='tns:language'/>
162  <complexType name='language' base='language' content='textOnly'>
163    <attributeGroup ref='tns:commonAttributes'/>
164  </complexType>
165
166  <element name='IDREFS' type='tns:IDREFS'/>
167  <complexType name='IDREFS' base='IDREFS' content='textOnly'>
168    <attributeGroup ref='tns:commonAttributes'/>
169  </complexType>
170
171  <element name='ENTITIES' type='tns:ENTITIES'/>
172  <complexType name='ENTITIES' base='ENTITIES' content='textOnly'>
173    <attributeGroup ref='tns:commonAttributes'/>
174  </complexType>
175
176  <element name='NMTOKEN' type='tns:NMTOKEN'/>
177  <complexType name='NMTOKEN' base='NMTOKEN' content='textOnly'>
178    <attributeGroup ref='tns:commonAttributes'/>
179  </complexType>
180
181  <element name='NMTOKENS' type='tns:NMTOKENS'/>
182  <complexType name='NMTOKENS' base='NMTOKENS' content='textOnly'>
183    <attributeGroup ref='tns:commonAttributes'/>
184  </complexType>
185
186  <element name='Name' type='tns:Name'/>
187  <complexType name='Name' base='Name' content='textOnly'>
188    <attributeGroup ref='tns:commonAttributes'/>
189  </complexType>
190
191  <element name='NCName' type='tns:NCName'/>
192  <complexType name='NCName' base='NCName' content='textOnly'>
193    <attributeGroup ref='tns:commonAttributes'/>
194  </complexType>
195
196  <element name='integer' type='tns:integer'/>
197  <complexType name='integer' base='integer' content='textOnly'>
198    <attributeGroup ref='tns:commonAttributes'/>
199  </complexType>
200
201  <element name='nonPositiveInteger' type='tns:nonPositiveInteger'/>
202  <complexType name='nonPositiveInteger' base='nonPositiveInteger' content='textOnly'>
203    <attributeGroup ref='tns:commonAttributes'/>
204  </complexType>
205
206  <element name='negativeInteger' type='tns:negativeInteger'/>
207  <complexType name='negativeInteger' base='negativeInteger' content='textOnly'>
208    <attributeGroup ref='tns:commonAttributes'/>
209  </complexType>
210
211  <element name='long' type='tns:long'/>
212  <complexType name='long' base='long' content='textOnly'>
213    <attributeGroup ref='tns:commonAttributes'/>
214  </complexType>
215
216  <element name='int' type='tns:int'/>
217  <complexType name='int' base='int' content='textOnly'>
218    <attributeGroup ref='tns:commonAttributes'/>
219  </complexType>
220
221  <element name='short' type='tns:short'/>
222  <complexType name='short' base='short' content='textOnly'>
223    <attributeGroup ref='tns:commonAttributes'/>
224  </complexType>
225
226  <element name='byte' type='tns:byte'/>
227  <complexType name='byte' base='byte' content='textOnly'>
228    <attributeGroup ref='tns:commonAttributes'/>
229  </complexType>
230
231  <element name='nonNegativeInteger' type='tns:nonNegativeInteger'/>
232  <complexType name='nonNegativeInteger' base='nonNegativeInteger' content='textOnly'>
233    <attributeGroup ref='tns:commonAttributes'/>
234  </complexType>
235
236  <element name='unsignedLong' type='tns:unsignedLong'/>
237  <complexType name='unsignedLong' base='unsignedLong' content='textOnly'>
238    <attributeGroup ref='tns:commonAttributes'/>
239  </complexType>
240
241  <element name='unsignedInt' type='tns:unsignedInt'/>
242  <complexType name='unsignedInt' base='unsignedInt' content='textOnly'>
243    <attributeGroup ref='tns:commonAttributes'/>
244  </complexType>
245
246  <element name='unsignedShort' type='tns:unsignedShort'/>
247  <complexType name='unsignedShort' base='unsignedShort' content='textOnly'>
248    <attributeGroup ref='tns:commonAttributes'/>
249  </complexType>
250
251  <element name='unsignedByte' type='tns:unsignedByte'/>
252  <complexType name='unsignedByte' base='unsignedByte' content='textOnly'>
253    <attributeGroup ref='tns:commonAttributes'/>
254  </complexType>
255
256  <element name='positiveInteger' type='tns:positiveInteger'/>
257  <complexType name='positiveInteger' base='positiveInteger' content='textOnly'>
258    <attributeGroup ref='tns:commonAttributes'/>
259  </complexType>
260
261  <element name='timeInstant' type='tns:timeInstant'/>
262  <complexType name='timeInstant' base='timeInstant' content='textOnly'>
263    <attributeGroup ref='tns:commonAttributes'/>
264  </complexType>
265
266  <element name='time' type='tns:time'/>
267  <complexType name='time' base='time' content='textOnly'>
268    <attributeGroup ref='tns:commonAttributes'/>
269  </complexType>
270
271  <element name='timePeriod' type='tns:timePeriod'/>
272  <complexType name='timePeriod' base='timePeriod' content='textOnly'>
273    <attributeGroup ref='tns:commonAttributes'/>
274  </complexType>
275
276  <element name='date' type='tns:date'/>
277  <complexType name='date' base='date' content='textOnly'>
278    <attributeGroup ref='tns:commonAttributes'/>
279  </complexType>
280
281  <element name='month' type='tns:month'/>
282  <complexType name='month' base='month' content='textOnly'>
283    <attributeGroup ref='tns:commonAttributes'/>
284  </complexType>
285
286  <element name='year' type='tns:year'/>
287  <complexType name='year' base='year' content='textOnly'>
288    <attributeGroup ref='tns:commonAttributes'/>
289  </complexType>
290
291  <element name='century' type='tns:century'/>
292  <complexType name='century' base='century' content='textOnly'>
293    <attributeGroup ref='tns:commonAttributes'/>
294  </complexType>
295
296  <element name='recurringDate' type='tns:recurringDate'/>
297  <complexType name='recurringDate' base='recurringDate' content='textOnly'>
298    <attributeGroup ref='tns:commonAttributes'/>
299  </complexType>
300
301  <element name='recurringDay' type='tns:recurringDay'/>
302  <complexType name='recurringDay' base='recurringDay' content='textOnly'>
303    <attributeGroup ref='tns:commonAttributes'/>
304  </complexType>
305 
306 <!-- Element declarations and types corresponding to the ur-type in the
307      W3C XML Schemas Specification. This is the
308      soap representation for the type described as the ur-Type in the W3C
309      schema specification.  This type will be dropped from the SOAP
310      specification or modified appropriately if the W3C schema's workgroup
311      can give us a proper xsd:ur-Type name soon enough for us to use,
312      or else deprecated. -->
313 
314  <element name='ur-type'/>
315  <complexType name='ur-type'/>
316
317</schema>
318 
319 
Note: See TracBrowser for help on using the repository browser.