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

Re: URI (file://localhost URIs, how not to abbreviate)

From: Al Gilman <asgilman@iamdigex.net>
Date: Sat, 01 Feb 2003 11:12:27 -0500
Message-Id: <>
To: "Jerry Kasten" <kasten@hks.com>
Cc: uri@w3.org

The URI you want, spelled in full, is

which may sometimes be abbreviated

In situations where the 'file' scheme is not firmly established by a BASE in
the context, the 'authority' part of the URI should not be elided, although
it may be as brief as '///' in this case.


<quote cite=
     4. Due to a loophole in prior specifications [RFC1630], some
        parsers allow the scheme name to be present in a relative URI if
        it is the same as the base URI scheme. Unfortunately, this can
        conflict with the correct parsing of non-hierarchical URI. For
        backwards compatibility, an implementation may work around such
        references by removing the scheme if it matches that of the base
        URI and the scheme is known to always use the <[27]hier_part>
        syntax. The parser can then continue with the steps below for the
        remainder of the reference components. Validating parsers should
        mark such a misformed relative reference as an error.


At 02:29 PM 2003-01-31, Jerry Kasten wrote:

>I'm using a Perl script that contains XML::Catalog. The following
>instruction is used to create a catalog object (on a PC):
>This works. However, what I'd really like is to specify the partition, as
>or something equivalent to be able to specify the 'd' partition.
>The previous syntax does not work. Does anyone have any ideas about how I
>can change the above line or change the XML::Catalog package to make this
>Jerry Kasten
Received on Saturday, 1 February 2003 11:12:27 UTC

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