W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 1997

Re: WebDAV Tree Operations

From: John Turner <johnt@cgocable.net>
Date: Tue, 14 Oct 1997 15:14:55 +0600
Message-Id: <199710141927.PAA26951@mail.cgocable.net>
To: w3c-dist-auth@w3.org
The three tree operation methods definitely fill a void.  My feeling is that
some additional level of control for  multiple copies would be useful, but I
am not certain whether it is worth the added complexity.

My one negative comment on the draft is that I do not like the way the
failed operations are handled.  I do agree that the namspace consistency is
important, but think that it can be maintained differently.

For DELETE-TREE, if a resource cannot be deleted, I would prefer that the
parent collection fail as well, rather than having it succeed but a new
collection created in its place.  Creating a new collection after having
deleted the original leaves the remaining collections in a strange state,
not gone, but not what they were before the delete.

In a similar way, I think that with the COPY-TREE, if a collection fails to
copy, then its members should fail also, or in fact may not even be tried at
all.  If it fails, but its children are copied, you have an imperfect copy.
Children are there, but the parent is not consistent with the original.

The COPY-TREE description should probably state that copying over an
existing destination should delete the destination (similar to what it says

The MOVE-TREE specifies that a move onto an existing collection must delete
it.  It does not say if the move should continue if the delete (or
DELETE-TREE) fails.  I would especially dislike having it move over a
destination that was deleted, then recreated because a member could not be

John Turner
Received on Tuesday, 14 October 1997 15:27:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:12 UTC