response marshalling in RFC2518, section 8.10.10

(sorry, operator error)

The example response is:

   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>
          <D:status>HTTP/1.1 403 Forbidden</D:status>
     </D:response>
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/</D:href>
          <D:propstat>
               <D:prop><D:lockdiscovery/></D:prop>
               <D:status>HTTP/1.1 424 Failed Dependency</D:status>
          </D:propstat>
     </D:response>
   </D:multistatus>

and the spec says furthermore:

"In this example the lockdiscovery property is empty which means that there
are no outstanding locks on the resource."

What's the point in returning the DAV:lockdiscovery property if it will
always be empty (otherwise a 200 would have been returned). And shouldn't
the response better be:

   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>
          <D:status>HTTP/1.1 403 Forbidden</D:status>
     </D:response>
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/</D:href>
          <D:status>HTTP/1.1 424 Failed Dependency</D:status>
     </D:response>
   </D:multistatus>

...because the error condition applies to the complete resource, not a
specific property?



[1] <http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.10.10>

Received on Tuesday, 9 July 2002 09:19:34 UTC