W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > January to March 2001

Re: errors in 9.8 and 9.9

From: Greg Stein <gstein@lyra.org>
Date: Wed, 7 Feb 2001 05:26:57 -0800
To: ietf-dav-versioning@w3.org
Message-ID: <20010207052656.R26044@lyra.org>
Not a Label header, but a DAV:label-name within the DAV:update element.
(the actual XML constructs described in 9.9!)

The precondition is to prevent an UPDATE request with this body:

  <D:update xmlns:D="DAV:">
    <D:label-name>whatever</D:label-name>
    <D:version><D:href>http://some.thing/</D:href></D:version>
  </D:update>

The UPDATE couldn't figure out which to use.

Oh. So I guess the text from 9.9 does simply move up to 9.8. Within section
9.8, it must refer to the Label header, and the DAV:apply-to-version element.

In section 9.9, the precondition must refer to the DAV:label-name and
DAV:version elements.

Cheers,
-g

On Wed, Feb 07, 2001 at 08:15:27AM -0500, Clemm, Geoff wrote:
> But a label header is not allowed with an UPDATE request
> (it wouldn't make sense, because an UPDATE request must 
> be applied to a version-controlled resource, and a Label
> header applies a request to a version).
> 
> Cheers,
> Geoff
> 
> -----Original Message-----
> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: Wednesday, February 07, 2001 8:02 AM
> To: ietf-dav-versioning@w3.org
> Subject: Re: errors in 9.8 and 9.9
> 
> 
> Same text, but refer to the DAV:version element instead (within the text,
> and for the precondition name)
> 
> Cheers,
> -g
> 
> On Wed, Feb 07, 2001 at 07:31:45AM -0500, Clemm, Geoff wrote:
> > Thanks for finding that, Greg!  Yes, it was supposed to go in the
> > CHECKOUT preconditions, not the UPDATE preconditions.
> > 
> > What did you have in mind for a new precondition for 9.9 (UPDATE)?
> > 
> > Cheers,
> > Geoff
> > 
> > -----Original Message-----
> > From: Greg Stein [mailto:gstein@lyra.org]
> > Sent: Wednesday, February 07, 2001 5:36 AM
> > To: ietf-dav-versioning@w3.org
> > Subject: errors in 9.8 and 9.9
> > 
> > 
> > The first precondition in 9.9 refers to DAV:apply-to-version. The UPDATE
> > method can have a DAV:version element. DAV:apply-to-version is used in
> > CHECKOUT. The name of the precondition would change, too.
> > 
> > However, this precondition *does* apply to section 9.8 (CHECKOUT) (where
> it
> > is missing). Basically, move the precondition in 9.9 up to 9.8, and then
> > write a new one for 9.9.
> > 
> > Cheers,
> > -g
> > 
> > -- 
> > Greg Stein, http://www.lyra.org/
> 
> -- 
> Greg Stein, http://www.lyra.org/

-- 
Greg Stein, http://www.lyra.org/
Received on Wednesday, 7 February 2001 08:25:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:40 GMT