1 <?xml version="1.0" encoding="UTF-8"?>
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
21 <schema xmlns="http://www.w3.org/2001/XMLSchema"
22 targetNamespace="DAV:"
23 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
25 elementFormDefault="qualified">
27 <element name="activelock">
30 <element ref="dav:lockscope"/>
31 <element ref="dav:locktype"/>
32 <element ref="dav:depth"/>
33 <element ref="dav:owner" minOccurs="0" maxOccurs="1"/>
34 <element ref="dav:timeout" minOccurs="0" maxOccurs="1"/>
35 <element ref="dav:locktoken" minOccurs="0" maxOccurs="1"/>
40 <element name="lockentry">
43 <element ref="dav:lockscope"/>
44 <element ref="dav:locktype"/>
49 <element name="lockinfo">
52 <element ref="dav:lockscope"/>
53 <element ref="dav:locktype"/>
54 <element ref="dav:owner" minOccurs="0" maxOccurs="1"/>
59 <element name="locktype">
62 <element ref="dav:write"/>
67 <element name="write">
71 <element name="lockscope">
74 <element ref="dav:exclusive"/>
75 <element ref="dav:shared"/>
80 <element name="exclusive">
84 <element name="shared">
88 <element name="depth" type="xsd:string"/>
90 <element name="owner">
91 <complexType mixed="true">
93 <any namespace="http://www.w3.org/namespace/"/>
98 <element name="timeout" type="xsd:string"/>
100 <element name="locktoken">
103 <element ref="dav:href" maxOccurs="unbounded"/>
108 <element name="href" type="xsd:string"/>
110 <element name="link">
113 <element ref="dav:src" maxOccurs="unbounded"/>
114 <element ref="dav:dst" maxOccurs="unbounded"/>
119 <element name="dst" type="xsd:string"/>
121 <element name="src" type="xsd:string"/>
123 <element name="multistatus">
126 <element ref="dav:response" maxOccurs="unbounded"/>
127 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
128 <element ref="dav:sync-token" minOccurs="0" maxOccurs="1"/>
133 <element name="response">
136 <element ref="dav:href" minOccurs="1" maxOccurs="unbounded"/>
139 <element ref="dav:status"/>
141 <element ref="dav:propstat" maxOccurs="unbounded"/>
143 <element ref="dav:error" minOccurs="0" maxOccurs="1"/>
144 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
145 <element ref="dav:location" minOccurs="0" maxOccurs="1"/>
150 <element name="status" type="xsd:string"/>
152 <element name="error">
155 <any namespace="##any"/>
160 <element name="propstat">
163 <element ref="dav:prop"/>
164 <element ref="dav:status"/>
165 <element ref="dav:error" minOccurs="0" maxOccurs="1"/>
166 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
171 <element name="responsedescription" type="xsd:string"/>
173 <element name="location">
176 <element ref="dav:href" maxOccurs="1"/>
181 <element name="prop">
184 <element ref="dav:creationdate" minOccurs="0"/>
185 <element ref="dav:displayname" minOccurs="0"/>
186 <element ref="dav:getcontentlanguage" minOccurs="0"/>
187 <element ref="dav:getcontentlength" minOccurs="0"/>
188 <element ref="dav:getcontenttype" minOccurs="0"/>
189 <element ref="dav:getetag" minOccurs="0"/>
190 <element ref="dav:getlastmodified" minOccurs="0"/>
191 <element ref="dav:lockdiscovery" minOccurs="0"/>
192 <element ref="dav:resourcetype" minOccurs="0"/>
193 <element ref="dav:supportedlock" minOccurs="0"/>
194 <element ref="dav:supported-report-set" minOccurs="0"/>
195 <element ref="dav:quota-available-bytes" minOccurs="0"/>
196 <element ref="dav:quota-used-bytes" minOccurs="0"/>
197 <!-- Microsoft has some own elements in DAV namespace - don't use it for now -->
199 <element ref="dav:contentclass" minOccurs="0"/>
200 <element ref="dav:defaultdocument" minOccurs="0"/>
201 <element ref="dav:href" minOccurs="0"/>
202 <element ref="dav:iscollection" minOccurs="0"/>
203 <element ref="dav:ishidden" minOccurs="0"/>
204 <element ref="dav:isreadonly" minOccurs="0"/>
205 <element ref="dav:isroot" minOccurs="0"/>
206 <element ref="dav:isstructureddocument" minOccurs="0"/>
207 <element ref="dav:lastaccessed" minOccurs="0"/>
208 <element ref="dav:name" minOccurs="0"/>
209 <element ref="dav:parentname" minOccurs="0"/>
211 <any processContents="skip" namespace="##other" maxOccurs="unbounded" />
216 <element name="propertybehavior">
219 <element ref="dav:omit"/>
220 <element ref="dav:keepalive"/>
225 <element name="omit">
229 <element name="keepalive">
230 <complexType mixed="true">
232 <element ref="dav:href" maxOccurs="unbounded"/>
237 <element name="propertyupdate">
239 <choice maxOccurs="unbounded">
240 <element ref="dav:remove"/>
241 <element ref="dav:set"/>
246 <element name="remove">
249 <element ref="dav:prop"/>
257 <element ref="dav:prop"/>
262 <element name="propfind">
265 <element ref="dav:allprop"/>
266 <element ref="dav:propname"/>
267 <element ref="dav:prop"/>
272 <element name="allprop">
276 <element name="propname">
280 <element name="collection">
284 <element name="creationdate">
285 <complexType mixed="true">
290 <element name="displayname">
291 <complexType mixed="true">
296 <element name="getcontentlanguage">
297 <complexType mixed="true">
302 <element name="getcontentlength">
303 <complexType mixed="true">
308 <element name="getcontenttype">
309 <complexType mixed="true">
314 <element name="getetag">
315 <complexType mixed="true">
320 <element name="getlastmodified">
321 <complexType mixed="true">
326 <element name="lockdiscovery">
328 <sequence minOccurs="0" maxOccurs="unbounded">
329 <element ref="dav:activelock"/>
334 <element name="resourcetype">
337 <element ref="dav:collection" minOccurs="0"/>
338 <any processContents="skip" namespace="##other" minOccurs="0" maxOccurs="unbounded" />
343 <element name="supportedlock">
345 <sequence minOccurs="0" maxOccurs="unbounded">
346 <element ref="dav:lockentry"/>
351 <element name="source">
353 <sequence minOccurs="0" maxOccurs="unbounded">
354 <element ref="dav:link"/>
359 <element name="quota-available-bytes">
360 <complexType mixed="true">
365 <element name="quota-used-bytes">
366 <complexType mixed="true">
371 <element name="searchrequest">
374 <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1" />
379 <element name="supported-report-set">
382 <element maxOccurs="unbounded" ref="dav:supported-report"/>
387 <element name="supported-report">
390 <element ref="dav:report"/>
395 <element name="report">
398 <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1"/>
403 <element name="sync-collection">
406 <element ref="dav:sync-token" minOccurs="1" maxOccurs="1"/>
407 <element ref="dav:sync-level" minOccurs="1" maxOccurs="1"/>
408 <element ref="dav:limit" minOccurs="0" maxOccurs="1"/>
409 <element ref="dav:prop" minOccurs="1" maxOccurs="1"/>
414 <element name="sync-token" type="anyURI"/>
416 <element name="sync-level" type="string">
418 <restriction base="string">
419 <enumeration value="1"/>
420 <enumeration value="infinite"/>
425 <element name="limit">
428 <element ref="dav:nresults" minOccurs="1" maxOccurs="1"/>
433 <element name="nresults" type="integer"/>
435 <!-- Microsoft has some own elements in DAV namespace - don't use it for now -->
437 <element name="contentclass" type="xsd:string"/>
438 <element name="defaultdocument" type="xsd:string"/>
439 <element name="iscollection" type="xsd:string"/>
440 <element name="ishidden" type="xsd:string"/>
441 <element name="isreadonly" type="xsd:string"/>
442 <element name="isroot" type="xsd:string"/>
443 <element name="isstructureddocument" type="xsd:string"/>
444 <element name="lastaccessed" type="xsd:string"/>
445 <element name="name" type="xsd:string"/>
446 <element name="parentname" type="xsd:string"/>