RE: discovering the root of a deep lock

I agree that the lock discovery should report on
the root of a depth lock.

Cheers,
Geoff

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Wednesday, July 10, 2002 3:39 AM
To: w3c-dist-auth@w3.org
Subject: discovering the root of a deep lock



(see also issue LOCKS_SHOULD_THEY_USE_AN_IF_HEADER_TO_VERIFY)

Proposed syntax:

12.1  activelock XML Element

Name:
activelock
Namespace:
DAV:
Purpose:
Describes a lock on a resource.

   <!ELEMENT activelock (lockscope, locktype, depth, owner?, timeout?,
locktoken?, lockroot?) >


12.1.x  lockroot XML Element

Name:
lockroot
Namespace:
DAV:
Purpose:
For locks with depth infinity, servers SHOULD report the root of the lock
using the DAV:lockroot element. This enables clients to know the scope of
resources affected by a subsequent UNLOCK with the given lock token. For
lock with depth 0, the DAV:lockroot element MUST NOT be present.

   <!ELEMENT lockroot (href) >


--

Note: I made it a "SHOULD" in order not to break existing implementations.

Received on Wednesday, 10 July 2002 09:22:36 UTC