[whatwg] Inconsistent behavior for empty-string URLs

Nicholas Zakas nzakas at yahoo-inc.com
Tue Dec 15 11:14:29 PST 2009


Is it necessary to apply this within XSLT and CSS as well? Or is it
possible to have this be an HTML-only feature? I'd be happy with the
latter.

-Nicholas
 
______________________________________________
Commander Lock: "Damnit Morpheus, not everyone believes what you
believe!"
Morpheus: "My beliefs do not require them to."

-----Original Message-----
From: Jonas Sicking [mailto:jonas at sicking.cc] 
Sent: Tuesday, December 15, 2009 9:37 AM
To: Maciej Stachowiak
Cc: Nicholas Zakas; whatwg at lists.whatwg.org; Aryeh Gregor; Simon Pieters
Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs

On Tue, Dec 15, 2009 at 1:44 AM, Maciej Stachowiak <mjs at apple.com>
wrote:
> Does anyone have data on what, if any, compatibility impact this has?
I
> can't imagine loading the base URL to be terribly useful in most
cases, but
> perhaps there are wacky sites that do indeed rely on it.

Given that opera has this somewhat deployed, would be interesting to
hear if they have had any compatibility issues.

The one place where I've seen this used is inside XSLT stylesheets,
where i've seen something like:

<xsl:value-of select="document('')/foo/bar">

to read data out of the stylesheet document.

/ Jonas


More information about the whatwg mailing list