W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [XHR] responseType "json"

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 13 Dec 2011 10:56:22 +0200
Message-ID: <CAJQvAueN=L-uxJanreAFV++63HT-qyXBcx+-JMWo=_kUqB73LA@mail.gmail.com>
To: public-webapps@w3.org
On Mon, Dec 12, 2011 at 7:08 PM, Jarred Nicholls <jarred@sencha.com> wrote:
> There's no feeding (re: streaming) of data to a parser, it's buffered until
> the state is DONE (readyState == 4) and then an XML doc is created upon the
> first access to responseXML or response.  Same will go for the JSON parser
> in our first iteration of implementing the "json" responseType.

FWIW, Gecko parses XML and HTML in a streaming way as data arrives
from the network. When readyState changes to DONE, the document has
already been parsed.

Henri Sivonen
Received on Tuesday, 13 December 2011 08:56:52 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:37 UTC