W3C home > Mailing lists > Public > uri@w3.org > February 2004

RE: Status of draft-hoffman-rfc1738bis-01.txt

From: Israel Viente <israel_viente@il.vio.com>
Date: Tue, 3 Feb 2004 12:30:03 +0200
To: <uri@w3.org>
Cc: "'Graham Klyne'" <gk@ninebynine.org>
Message-Id: <20040203102809.366061FB453@nils.bezeqint.net>

>I'm wondering if there is any dispute over what this document says about 
>the file: scheme (coped >below).

See my comments in
I still didn't get answers to them in the current draft.

>For Windows shares, there is an additional "/" prepended to the name.
>Thus, the file "example.doc" on the shared directory "department" would
>have the URL:

>   file:////department/example.doc

Is it a shared directory on the local host? 
How would it be in case of shared directory on a remote host?


-----Original Message-----
From: uri-request@w3.org [mailto:uri-request@w3.org] On Behalf Of Graham
Sent: Monday, February 02, 2004 3:18 PM
To: uri@w3.org
Subject: Status of draft-hoffman-rfc1738bis-01.txt

With reference to:

I just used this for information about the file: URI scheme, which I've 
used in some code that I plan to offer to the Haskell language library

I'm wondering if there is any dispute over what this document says about 
the file: scheme (coped below).  It all looks very good to me.  I 
particular, I have followed the advice concerning URIs for Windows 
drive+path specifications.

I have a small problem with the text.  The example:
is confusing.  'usr' should be an authority component, but to users of 
Unix/Linux systems it looks like part of the path.



The file URL scheme is used to designate files accessible on a
particular host computer. This scheme, unlike most other URL schemes,
does not designate a resource that is universally accessible over the

A file URL takes the form:


where <host> is the fully qualified domain name of the system on
which the <path> is accessible, and <path> is a hierarchical
directory path of the form <directory>/<directory>/.../<name>.

As a special case, <host> can be the string "localhost" or the empty
string; this is interpreted as "the machine from which the URL is
being interpreted". However, this part of the syntax has been
ignored on many systems. That is, for some systems, the following
are considered equal, while on others they are not:


Some systems allow URLs to point to directories. In this case, there
is usually (but not always) a terminating "/" character, such as


On systems running some versions of Microsoft Windows, the local drive
specification is preceded by a "/" character. Thus, for a file called
"example.ini" in the "windows" directory on the "c:" drive, the URL
would be:


For Windows shares, there is an additional "/" prepended to the name.
Thus, the file "example.doc" on the shared directory "department" would
have the URL:


The file URL scheme is unusual in that it does not specify an
Internet protocol or access method for such files; as such, its
utility in network protocols between hosts is limited.

Graham Klyne
For email:
Received on Tuesday, 3 February 2004 05:28:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:07 UTC