I think what's being driven at here is that the dataType should try
harder to force the results into its specified type.

This can be done just by adding the line:
if ( dataType == "xml" )
    xml.overrideMimeType('text/xml');

This won't effect anyones existing XML-related code, instead it'll
just help to fix a lot of the confusion that surrounds incorrect
headers and Ajax. I say add those two lines!

--John

On 11/17/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Jörn Zaefferer schrieb:
> > Hi folks,
> >
> > I'm still on my quest to get all bugs in jQuery's AJAX module fixed.
> >
> > Now I'm stuck with this bug report: http://jquery.com/dev/bugs/bug/266/
> >
> > Does it make sense to implement it as proposed? Or should we add another 
> > option that lets you specify the mimeType exactly?
> >
> > Your opinions please!
>
> XHTML served as text/html is HTML. Period. If xml is required serve
> XHTML as application/xhtml+xml.
>
> I don't see any bug here.
>
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to