W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: ISSUE-29: how is uri parameter of the open() method resolved

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 27 Feb 2006 14:07:19 -0800
Message-ID: <44037817.7050407@sicking.cc>
To: Web APIs WG <public-webapi@w3.org>

Web APIs Issue Tracker wrote:
> ISSUE-29: how is uri parameter of the open() method resolved
> 
> http://www.w3.org/2005/06/tracker/webapi/issues/29
> 
> Raised by: Anne van Kesteren
> On product: XHR
> 
> Currently it is unclear how the URI parameter of the open() method is resolved. 
> The source of the editor's draft says it's resolved against window.location.href 
> but that might be incorrect given that <base> sets window.document.baseURI and 
> at least one browser uses that...
> 
> How does it work with xml:base? Should you look at document.documentElement.
> baseURI instead?

Note that xml:base can appear on any element, so there's nothing special 
about the documentElement. In other words I don't think xml:base is 
something that should affect XMLHttpRequest.

/ Jonas
Received on Tuesday, 28 February 2006 11:10:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT