> - Safari is getting the response but there is no responseXML only a
> responseText so for some reason it appears to believe that what the
> server is sending isn't valid xml.

Well there's your problem :).

> - res.responseText  has the value:
>   <?xml version="1.0"
> standalone='yes'?><response><id>522</id><p>abc</p></response>

I'm outputting almost the same XML in my app, and it works fine. The
only difference is the XML header. I use <?xml version="1.0"
encoding="utf-8"?> which doesn't have the standalone attribute. Maybe
try dropping that?

Otherwise, a horrible hack might be to try (should work in Safari >=
3, but not tested so YMMV)
var response = res.responseXML || (new DOMParser()).parseFromString(
res.responseText, 'text/xml' ) ;

If that doesn't work, at least it might give you a clearer error
message when it throws an exception.

Hamish Friedlander
mindcontroldogs.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to