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

Re: [XHR] responseXML interfaces

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 27 Jun 2007 15:00:02 +0200
To: "Alexey Proskuryakov" <ap-carbon@rambler.ru>, "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.tukzqcj464w2qv@annevk-t60.oslo.opera.com>

On Wed, 27 Jun 2007 14:51:25 +0200, Alexey Proskuryakov  
<ap-carbon@rambler.ru> wrote:
> -------------------------------------------------------
> ...
> 3. Parse the response entity body following the rules from the XML
> specifications. Let the result be parsed document. If this fails
> (unsupported character encoding, namespace well-formedness error et  
> cetera)
> terminate these steps return null. [XML] [XMLNS]
> 4. Return an object implementing the Document interface representing the
> parsed document.
> -------------------------------------------------------
> Is it intentional that other interfaces are not mentioned at all? Some
> browsers create objects implementing HTMLDocument interface, and it is  
> not entirely obvious how this should be done.

The HTML 5 specification requires that HTMLDocument is implemented for  
each object implementing the Document interface.

> Even for plain XML documents, following rules from XML specifications  
> may not be straightforward, for example, some people are surprised that  
> transformations are not appiled to responseXML.
> If it is not currently feasible to fully specify the behavior, perhaps a  
> note mentioning that could be added at least.

Any suggestions on what we could say?

Anne van Kesteren
Received on Wednesday, 27 June 2007 13:00:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC