Next message: Tim Ellison/OTT/OTI: "Locking revisions"
To: ietf-dav-versioning@w3.org
Message-ID: <OFFEB997D6.B20645E4-ON852568D5.00452CB0@ott.oti.com>
From: "Tim Ellison/OTT/OTI" <Tim_Ellison@oti.com>
Date: Thu, 4 May 2000 08:43:23 -0400
Subject: RE: Labels
<geoff>
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)
<tim>
I infered that if I did a SET-TARGET and added an existing label to a new
revision it would be *im*plicitly removed from the other revision. There
is no indication that I must explicitly remove it first.
</tim>
- you use a label in a Target-Selector header to select a
particular revision.
<tim>
The srewed observer would also notice the keyword "label" in the
Target-Selector ;-)
</tim>
None of this is inferable from a LABEL method.
<tim>
My claim is only that it is not inferable from the SET-TARGET method
either, but at least LABEL is the obvious place to look in the spec. when
trying to understand set/get/remove labels. (I'm not proposing a change in
semantics.)
</tim>
</geoff>
"Clemm, Geoff"
<gclemm@rational.com> To: ietf-dav-versioning@w3.org
Sent by: cc:
ietf-dav-versioning-requ Subject: RE: Labels
est@w3.org
03-05-00 10:39 PM
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