[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: file:///
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2004-11-13 10:40:11
Message-ID: cn4oac$i7n$1 () sea ! gmane ! org
[Download RAW message or body]

Reinhold Kainhofer wrote:

> Dawit A. wrote:
> 
>> On Friday 12 November 2004 17:34, Thiago Macieira wrote:
>>> Rolf Magnus wrote:
>>> >> The syntax is actually protocol://[host]/path. The // is mandatory.
>>> >
>>> >For what reason? Why is it so absolutely necessary to add a dummy //,
>>> > even if the protocol doesn't support a concept of a host?
>>>
>>> Because "the standard says so".
> 
> No, the standard does NOT say so. See section 3 of rfc 2396:

Okay, reading up a bit more on the rfc's:

rfc 2396 was deprecated by rfc 2396bis, which defines the abnf:
 hier-part     = "//" authority path-abempty
               / path-absolute
               / path-rootless
               / path-empty

Here, path-absolute does also not require the // at the beginning, so
file:/path/to/file should also be correct grammatically, according to that
abnf...

However, the preamble to rfc 2396bis says the specific schemes described in
rfc 1738 (the file: scheme is among them) will be updated in separate
documents. Does anybody know where the file: scheme was updated?

Reinhold

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic