- From: <bugzilla@jessica.w3.org>
- Date: Wed, 12 Mar 2014 21:47:33 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25028 Bug ID: 25028 Summary: Should XMLHttpRequest.responseXML return an XMLDocument if response has xml MIME type? Product: WebAppsWG Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: XHR Assignee: annevk@annevk.nl Reporter: dchris@gmail.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-webapps@w3.org http://xhr.spec.whatwg.org/#response-entity-body-0 [[ Otherwise, let document be a document that represents the result of parsing the response entity body following the rules set forth in the XML specifications. If that fails (unsupported character encoding, namespace well-formedness error, etc.), return null. [XML] [XMLNS] ]] Should this (step 5) return an XMLDocument instead of a Document? See for example the DOMParsing specification, which states that we should return an XMLDocument if the MIME type is an XML one: http://domparsing.spec.whatwg.org/#dom-domparser-parsefromstring -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 12 March 2014 21:47:35 UTC