On 10/27/10 3:46 PM, Michael Nordman wrote:
Note, by the way, that for XML and HTML types, one is required (per
current XHR spec) to instantiate an XML or HTML parser,
respectively, to produce the responseText (because the data can
declare its own encoding in things like <meta> tags). I'm not sure
whether that complicates the other interfaces being proposed.... I
guess they could do that under the hood. But they point is they'd
need to know the MIME type, not just the data.
So an XMLParser would need more than just the raw data, ok.
That's obviously true, and isn't what I said...
-Boris