W3C home > Mailing lists > Public > public-webapi@w3.org > May 2007

Re: The XMLHttpRequest Object comments

From: Chris Lilley <chris@w3.org>
Date: Wed, 9 May 2007 18:47:36 +0200
Message-ID: <945482466.20070509184736@w3.org>
To: Stewart Brodie <stewart.brodie@antplc.com>
Cc: public-webapi@w3.org

On Tuesday, May 8, 2007, 11:49:17 AM, Stewart wrote:

SB> Chris Lilley <chris@w3.org> wrote:


>> On Tuesday, May 8, 2007, 12:11:38 AM, Innovimax wrote:

>> IS> I agree that it seems strange to have an "XML"HttpRequest that
>> IS> does not support XML at all !!

>> I agree that an XHR with no XML support does not make sense. Which
>> means XML must be supported. On the other hand, that does not mean
>> that XML is the only content that can be transported with it.

SB> I do not agree that it does not make sense - this is a generic mechanism for
SB> accessing URIs.  Requiring simple textual data to be transmitted and
SB> received as XML would be a huge burden on embedded clients, for example.

You seem to have misread my post.

I said "XML must be supported".

I also said "that does not mean that XML is the only content that can be transported with it."

If you have simple textual data, then send it as text/plain.

SB> I don't see why HTTP is mandatory either, to be honest, although I accept
SB> that that's what most scripts will use it for.






-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 9 May 2007 16:48:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT