W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2008

Re: Comments on http://www.w3.org/TR/2008/WD-rdfa-syntax-20080221

From: Ben Adida <ben@adida.net>
Date: Wed, 27 Feb 2008 08:47:21 -0800
Message-ID: <47C59419.6000006@adida.net>
To: Johannes Koch <koch@w3development.de>
CC: public-rdf-in-xhtml-tf@w3.org

Johannes Koch wrote:
> As the type of @about is URIorCURIE, and "" (empty attribute) is no 
> valid safe CURIE, it will be treated as a URI reference, which is to be 
> resolved to the current base.
> So e.g.
> ""
> resolved to
> http://www.example.org/foo/bar
> results in
> http://www.example.org/foo/

I don't think that's true: if you put <a href="">foo</a> in a document, 
you get the full URI http://www.example.org/foo/bar as that link.

I had a similar confusion at some point, that BASE referred to the base 
*directory*, but in fact all browser behavior (and I believe 
specifications) imply that a URI value of "" is the full current URI, 
not just the parent directory.

Received on Wednesday, 27 February 2008 16:47:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:55 UTC