W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2002

RE: Marshalling Depth > 0 responses for REPORTs, WAS: Replacing t he Label header with a DAV:labeled-version report

From: Clemm, Geoff <gclemm@rational.com>
Date: Sun, 28 Jul 2002 10:53:54 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B107A5CC47@SUS-MA1IT01>
To: ietf-dav-versioning@w3.org

   From: Clemm, Geoff [mailto:gclemm@rational.com]

      From: Julian Reschke [mailto:julian.reschke@gmx.de]

      Related question of the day: what's the response format for the
      version-tree report with depth: 1 applied to a collection that
      itself is not versioned but contains one version controlled member?

      So for depth 1 one would get:
      <multistatus xmlns="DAV:">
	  <status>HTTP/1.1 409 Conflict</status>
	    </error></responsedescription> </response>
	    ...now what?...
	    <status>HTTP/1.1 200 OK</status>

      RFC3253 seems to indicate that the <prop> element for the version
      controlled member must return the requested report. The format for
      the version-tree report defines a multistatus response body. So
      would the <prop> element contain another <multistatus> sub-tree?


BTW, I'm not happy with that answer, but it is what RFC3253 says.
In retrospect, I wish we had given every REPORT response its own
xml element such as is done with the DAV:merge-preview-report
(possibly nesting the multistatus within that).

For any new reports we define, we definitely should do so.

Received on Sunday, 28 July 2002 10:54:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:48 UTC