W3C home > Mailing lists > Public > public-appformats@w3.org > March 2008

Re: IE Team's Proposal for Cross Site Requests

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Sat, 15 Mar 2008 23:12:51 +0100
Message-ID: <47DC49E3.9090309@students.cs.uu.nl>
To: Sunava Dutta <sunavad@windows.microsoft.com>
CC: "Web API WG (public)" <public-webapi@w3.org>, "public-appformats@w3.org" <public-appformats@w3.org>, Eric Lawrence <ericlaw@exchange.microsoft.com>, Chris Wilson <Chris.Wilson@microsoft.com>, Zhenbin Xu <zhenbinx@windows.microsoft.com>, Gideon Cohn <gidco@windows.microsoft.com>, Sharath Udupa <Sharath.Udupa@microsoft.com>, Doug Stamper <dstamper@exchange.microsoft.com>, Marc Silbey <marcsil@windows.microsoft.com>
Sunava Dutta schreef:
> *Properties*
> ·         *responseText - *After the server responds, you can retrieve 
> the data string through the read-only /responseText /property.

When no character encoding is specified in the HTTP response headers, 
how can the user parse XML in the proper encoding (as specified in the 
<?xml encoding="…"?> processing instruction in the XML)? This is 
currently also an issue with responseText in XHR, and an important 
reason to use responseXML to retrieve XML content, since that takes the 
encoding specified in the document into account.

It seems that as you define it right now, XML can only be read if it is 
UTF-8. Although I would personally discourage using any other encoding 
than UTF-8 :), there are many sites that do and these should be 
supported through the mechanism that XML provides.

Additionally, when no character encoding is specified in the HTTP 
response headers, in what encoding will the content be parsed? I believe 
standards dictate that application/xml, text/xml and application/*+xml 
should be processed as UTF-8 by default, and text/html as ISO 8859-1? I 
hope IE’s implementation will deal with this properly, and that we won’t 
end up with XML data parsed as ISO 8859-1 when reading it through 


Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.

Received on Saturday, 15 March 2008 22:13:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:56:22 UTC