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

Re: Namespace consistency

From: Howard Modell <howard.s.modell@boeing.com>
Date: Thu, 10 Sep 1998 13:28:27 -0700
Message-Id: <199809102028.NAA22829@warlok.ds.boeing.com>
To: w3c-dist-auth@w3.org
H>From w3c-dist-auth-request@w3.org  Thu Sep 10 11:53:20 1998
H>Resent-Message-Id: <199809101845.OAA13039@www19.w3.org>
H>MMDF-Warning:  Parse error in original version of preceding line at paris.ics.uci.edu
H>From: Jim Whitehead <ejw@ics.uci.edu>
H>To: WEBDAV WG <w3c-dist-auth@w3.org>
H>Date: Thu, 10 Sep 1998 11:32:02 -0700
H>X-Priority: 3 (Normal)
H>X-MSMail-Priority: Normal
H>Importance: Normal
H>Subject: Namespace consistency
H>
H>Larry Masinter writes:
H>># DAV compliant
H>>#   resources MUST maintain the consistency of the HTTP URL namespace.
H>>
H>>Is there a definition of what 'the consistency of the HTP URL namespace'
H>>means? It's not defined anywhere, and this sentence only gives an example.
H>
H>This does appear to be an omission in the specification.
H>
H>By consistency, we meant:
H>
H>No gaps: Given HTTP URL U, for all unique HTTP URL Ux, where Ux is
H>constructed from U by removing all characters to the right of a "/", Ux MUST
H>be the HTTP URL of a WebDAV collection.
H>
H>So, if there is an HTTP URL:
H>
H>http://www.foo.bar.org/a/b/c
H>
H>Then
H>
H>http://www.foo.bar.org/a/b/
H>http://www.foo.bar.org/a/
H>
H>MUST be HTTP URLs of WebDAV collection resources.
H>
H>There are two ways to maintain this consistency when a new resource is
H>created:
H>
H>a) create intermediate collections automatically
H>b) refuse to create a resource if intermediate collections do not yet exist.
H>
H>The example in Section 4.3 implies we were recommending option b).
H>
H>Also, consistency implies:
H>
H>100% containment: Given HTTP URL U, U MUST be a member URL of the collection
H>whose URL, Uc, is contructed by removing the trailing path segment of U.
H>Exception: when U is the top-level resource, "/", of a namespace (i.e., the
H>first slash after the domain name in an HTTP URL), it belongs to no
H>collection, since it is the URI of the root collection.
H>
H>- Jim
H>

So if I have a personal webspace, ...

http://warlok.ds.boeing.com/~howie/

.. and I choose I create a "WebDAV collection" in my space, ..

http://warlok.ds.boeing.com/~howie/a/b/c

.. am I in violation of the rules above since the URL of my personal space
is NOT of and by itself the URL of a collection?

<signed>
Howard S. Modell
________________________________________________________________________
 Comptg Sys.Progr-Analyst/4           POBox 3707, m/s 4A-25, Boeing ISDS
 howard.s.modell@boeing.com           Seattle, WA 98124-2207
 http://warlok.ds.boeing.com/~howie/  (206)662-0189[v] (206)662-4018[f]
Received on Thursday, 10 September 1998 16:28:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:47 GMT