On Wed, 27 Jun 2007 14:51:25 +0200, Alexey Proskuryakov
<[EMAIL PROTECTED]> 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
XSL
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
<http://annevankesteren.nl/>
<http://www.opera.com/>