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
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 13 December 2011 08:56:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT