add: var xml = http_request.responseXML; if (!xml || !xml.documentElement ) { YAHOO.log("Detected failed responseXML"); if (window.ActiveXObject ) { YAHOO.log("Parsing ActiveX"); xml = new ActiveXObject( "Msxml2.DOMDocument" ); xml.loadXML( http_request.responseText ); YAHOO.log("Parsed " + typeof(xml.documentElement)); } else if ( DOMParser ) { xml = new DOMParser().parseFromString(http_request.responseText, "text/xml" ); } new_http_request = new Object(); new_http_request.responseXML = xml; new_http_request.responseText = http_request.responseText; http_request = new_http_request; } YAHOO.log("Starting callback"); 
context:     issueAJAXRequest: function(method, url, parameters, callback) {      var alertContents = function() {        if (http_request.readyState == 4) {          if (http_request.status == 200) {            YAHOO.log("AJAX request success status: " + http_request.status);            callback.success(http_request);            YAHOO.log("AJAX callback concluded");            }           else {            YAHOO.log("AJAX request error status: " + http_request.status);            }          }        }      var http_request = false;      if (window.XMLHttpRequest) { // Mozilla, Safari,...        http_request = new XMLHttpRequest();        if (method == "POST" && http_request.overrideMimeType) {           // set type accordingly to anticipated content type            //http_request.overrideMimeType('text/xml');          http_request.overrideMimeType('text/xml');          }        }         else if (window.ActiveXObject) { // IE          try {            http_request = new ActiveXObject("Msxml2.XMLHTTP");            }           catch (e) {            try {               http_request = new ActiveXObject("Microsoft.XMLHTTP");            } catch (e) {}          }        }      if (!http_request) {        YAHOO.log('Cannot create XMLHTTP instance');        return false;      }            http_request.onreadystatechange = alertContents;      http_request.open(method, url, true);      http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");      http_request.setRequestHeader("Content-length", parameters.length);      http_request.setRequestHeader("Connection", "close");      http_request.send(parameters);      },
meta: 13	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/13/cef1415805bfaeb60c534ad36f99da0a7aca32a0/rsf.js/clean/rsf-web/templates/src/webapp/content/js/rsf.js