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

Re: URI parsing (http:///test)

From: John Cowan <cowan@ccil.org>
Date: Wed, 11 Feb 2009 10:10:52 -0500
To: Anne van Kesteren <annevk@opera.com>
Cc: uri@w3.org
Message-ID: <20090211151051.GC9268@mercury.ccil.org>

Anne van Kesteren scripsit:

> For the URI
>   http:///test
> the authority component ends up being the empty string (parsing does not  
> fail). Is this intentional

Yes.  All the components of a URI except the scheme are optional.

> and what exactly are UAs supposed to do with  
> such a URI?

Whatever they like.  Just because a sentence is parsable doesn't mean
you'll be able to shingle its colorless greenness.

You know, you haven't stopped talking           John Cowan
since I came here. You must have been           http://www.ccil.org/~cowan
vaccinated with a phonograph needle.            cowan@ccil.org
        --Rufus T. Firefly
Received on Wednesday, 11 February 2009 15:11:26 UTC

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