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

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.

-Ben

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