HighDots Forums  

strange i.e. vs. non-i.e. XMLHttpRequest.requestXML response

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss strange i.e. vs. non-i.e. XMLHttpRequest.requestXML response in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Aryeh.Friedman@gmail.com
 
Posts: n/a

Default strange i.e. vs. non-i.e. XMLHttpRequest.requestXML response - 04-28-2009 , 09:54 PM






I have made sure that the code to get the XML (above what is shows
*DOES WORK* for all browsers).... but when I do the following line IE
reports "Object" and everything else "XMLDocument"... the problem this
causes will be explained below:

if(reply.substring(0,"<?xml".length)=="<?xml")
return sRequest.responseXML;

this is a problem in that the following line (that calls the above
code) reports "0" to IE and "1" when processing exactly the same XML:

<?xml version="1.0" ?>
<ISUReply>
false
</ISUReply>

Here is where I get differing results:

alert(callRCI("isLoggedIn",[]).getElementsByTagName
("ISUReply").length);

Specifically:

ff/safari/opera: 1
ie7/8: 0



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.