RE: DAV:checked-out property of a working-resource
Geoffrey M Clemm <geoffrey.clemm <at> us.ibm.com>
2004-09-15 13:38:20 GMT
OK, now I get it. The DAV:create-working-resource
needs to be split into two post-conditions, i.e. one
when "the method is applied to a version"
(most of the text),
and another that applies when "the request-URL
identified a version"
(just the last statement about the DAV:auto-update
I'll add this to the RFC-3253 errata list.
Thanks for catching that!
Girish wrote on 09/15/2004 08:45:14 AM:
> The ambiguity comes in if the two post-conditions are read in
> isolation. The fact that they define different semantics for
> DAV:auto-update property led me to believe that they may also define
> different semantics for the other properties like DAV:checked-out.
> So, in reality:
> DAV:create-working-resource-from-checked-in-version (VCR URL, DAV:
> working-resource <-- DAV:create-working-resource(VCR::DAV:checked-in)
> working-resource::DAV:auto-update <-- VCR URL
> Probably some redundancy would have made it clearer.
> From: ietf-dav-versioning-request <at> w3.org [mailto:ietf-dav-
> versioning-request <at> w3.org] On Behalf Of Geoffrey M Clemm
> Sent: Wednesday, September 15, 2004 1:51 PM
> To: 'ietf-dav-versioning <at> w3.org'
> Subject: Re: DAV:checked-out property of a working-resource
> Girish wrote on 09/15/2004 05:34:16 AM:
> > What should be the DAV:checked-out property of a
> > when the working resource was created due to a CHECKOUT
> > version-controlled-resource with DAV:apply-to-version?
Should it be
> > equal to the DAV:checked-in property of the version-controlled-
> > resource at the time the CHECKOUT was done?
> The semantics of CHECKOUT to create a working resource
> in section 9.3 "CHECKOUT Method (applied to a version)".
> Postcondition DAV:create-working-resource-from-checked-in-version
> If the
> request-URL identified a version-controlled
> DAV:apply-to-version is specified
in the request body, the
> CHECKOUT is applied to the DAV:checked-in
version of the version-
> controlled resource, and not the
> Postcondition DAV:create-working-resource states:
> The DAV:checked-out property of
> working resource MUST identify the
version that was checked out.
> So since the CHECKOUT is applied to the DAV:checked-in
version and the
> DAV:checked-out property identifies the version that
was checked out,
> then yes, the DAV:checked-out property of the new working
> identifies the DAV:checked-in version.
> Is there something in the spec that led you to believe