RE: Labels

From: Clemm, Geoff (gclemm@Rational.Com)
Date: Wed, May 03 2000

  • Next message: Eric Sedlar: "RE: draft-ietf-deltav04.5 now available"

    Message-ID: <65B141FB11CCD211825700A0C9D609BC02A52742@chef.lex.rational.com>
    From: "Clemm, Geoff" <gclemm@Rational.Com>
    To: ietf-dav-versioning@w3.org
    Date: Wed, 3 May 2000 22:39:03 -0400 
    Subject: RE: Labels
    
    To make a label select no revision (and to make a workspace
    select no revision) of a versioned resource, you use
    Target-Selector:none.  For example:
    
      SET-TARGET /file HTTP/1.1 
      Host: www.webdav.org
      Target-Selector: none
      Content-type: text/xml; charset="utf-8" 
      Content-Length: xxxx
    
      <? xml version="1.0" encoding="utf-8" ?>
      <DAV:label> released </DAV:label>
    
    I believe this is a better model than adding and removing
    a label from a revision, because it makes explicit the two
    key semantic properties of a label:
    - when you put a label on a revision, it removes it from the
      revision that currently has that label (if any)
    - you use a label in a Target-Selector header to select a
      particular revision.
    None of this is inferable from a LABEL method.
    
    Cheers,
    Geoff
    
    
    -----Original Message-----
    From: Tim Ellison/OTT/OTI [mailto:Tim_Ellison@oti.com]
    Sent: Wednesday, May 03, 2000 1:49 PM
    To: ietf-dav-versioning@w3.org
    Subject: Labels
    
    
    We seem to have lost the ability to remove a label using the 04.5 protocol.
    
    Example 6.2.2 should probably look like this:
    
    SET-TARGET /file HTTP/1.1
    Host: ...
    Target-Selector: ...
    ...
    
    <?xml version="1.0" encoding="utf-8" ?>
    <DAV:add>
         <DAV:label>    <!-- maybe this is not needed, maybe useful for future
    -->
              mylabel
         </DAV:label>
    </DAV:add>
    
    
    (That would mean that you would use SET-TARGET to remove a label too).
    
    I would quite like to see the return of the LABEL method, it was quite
    intuative.
    
    Tim