Re: [XHR] responseXML interfaces

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 UTC