W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2006

Re: Relative references and whether requires an authority

From: Lisa Dusseault <lisa@osafoundation.org>
Date: Sat, 28 Jan 2006 11:24:51 -0800
Message-Id: <C99C6F49-7540-4364-AEFB-A3C07BD6CD24@osafoundation.org>
Cc: webdav WG <w3c-dist-auth@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>

According to the 3986 BNF, I can't see how the beginning "//" doesn't  
indicate that the following string, up to the next "/" isn't an  
authority.

       relative-part = "//" authority path-abempty
                     / path-absolute
                     / path-noscheme
                     / path-empty

<http://rfc.net/rfc3986.html#s4.2.>

Lisa


On Jan 28, 2006, at 9:30 AM, Julian Reschke wrote:

>
> Lisa Dusseault wrote:
>
>> So would a relative reference of the form "//example.com/sample/"  
>> be legal in our URL values (href, Destination, If)?  Or do we  
>> further restrict relative references?
>>
>
> Syntactically it may be valid, but "example.com" then would be a  
> path segment, not the authority.
>
> Best regards, Julian
>
>
Received on Saturday, 28 January 2006 19:25:09 GMT

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