W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 1998

Namespace consistency

From: Jim Whitehead <ejw@ics.uci.edu>
Date: Thu, 10 Sep 1998 11:32:02 -0700
To: WEBDAV WG <w3c-dist-auth@w3.org>
Message-ID: <001901bddce9$4d7d7440$d115c380@galileo.ics.uci.edu>
Larry Masinter writes:
># DAV compliant
>#   resources MUST maintain the consistency of the HTTP URL namespace.
>Is there a definition of what 'the consistency of the HTP URL namespace'
>means? It's not defined anywhere, and this sentence only gives an example.

This does appear to be an omission in the specification.

By consistency, we meant:

No gaps: Given HTTP URL U, for all unique HTTP URL Ux, where Ux is
constructed from U by removing all characters to the right of a "/", Ux MUST
be the HTTP URL of a WebDAV collection.

So, if there is an HTTP URL:




MUST be HTTP URLs of WebDAV collection resources.

There are two ways to maintain this consistency when a new resource is

a) create intermediate collections automatically
b) refuse to create a resource if intermediate collections do not yet exist.

The example in Section 4.3 implies we were recommending option b).

Also, consistency implies:

100% containment: Given HTTP URL U, U MUST be a member URL of the collection
whose URL, Uc, is contructed by removing the trailing path segment of U.
Exception: when U is the top-level resource, "/", of a namespace (i.e., the
first slash after the domain name in an HTTP URL), it belongs to no
collection, since it is the URI of the root collection.

- Jim
Received on Thursday, 10 September 1998 14:45:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:18 UTC