Re: Relative references and whether requires an authority

Lisa Dusseault wrote:
> 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

Indeed (you learn something new every day).

I guess that's another reason why we really should use something like:

	Reference      = absolute-URI | ( path-absolute [ "?" query ] )

Best regards, Julian

Received on Saturday, 28 January 2006 19:45:39 UTC