W3C home > Mailing lists > Public > public-webapi@w3.org > July 2007

Re: [XHR] responseXML interfaces

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 25 Jul 2007 11:47:52 +0200
To: "Alexey Proskuryakov" <ap-carbon@rambler.ru>, "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.tv0lh2s664w2qv@annevk-t60.oslo.opera.com>

On Wed, 27 Jun 2007 16:53:58 +0200, Anne van Kesteren <annevk@opera.com>  
wrote:
>>> The HTML 5 specification requires that HTMLDocument is implemented for
>>> each object implementing the Document interface.
>>
>> Currently, the XHR draft doesn't reference HTML 5, as far as I  
>> understand.
>
> Correct. That's not a problem though. HTML 5 makes this requirement on  
> object implementing the Document interface. XMLHttpRequest doesn't have  
> to state it again. However, I suppose we'll need to refer to HTML 5 in  
> due course for things like non-same origin and document.domain.

What this means is that XMLHttpRequest implementations that also implement  
HTML 5 will return Document objects implementing HTMLDocument for  
responseXML and XMLHttpRequest implementations that don't, won't.


>>> Any suggestions on what we could say?
>>
>> I'm afraid that only have a few data points, namely, that no  
>> sub-resources should be loaded, inline scripts should not be executed,  
>> and XSL transformations shouldn't be applied.
>
> Ok, I'll look into that.

Added a note.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 25 July 2007 09:48:07 GMT

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