Unable to handle some characters from a xml response

wedeAttercurf

New Member
I am trying to fetch a xml response from server side (java). I checked in Fiddler it gives back the response as expected with 200 as status code, but my Jquery post function is sending the response to error giving me an alert "Error while getting xml from server". Is it a i18n issue? I am able to read and parse other xml responses, how can I do the same with this kind of responseMy code:var jqxhr =$.post(redirectMainUrl+"globalaction.action", { sessiontoken: sessiontoken, action: "getFile", absFileName: file_path},function(xml1) { alert($(xml1).find("lastDayErrorLogs") .children("log") .children("logEvent") .attr("message"));}).error(function() { if(jqxhr.responseText == 'INVALID_SESSION') { alert("Your Session has been timed out"); window.location.replace(communities); } else { alert("Error while getting xml from server"); goToHomePage();}});Response from server (xml)<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://stackoverflow.com/questions/14452377/client.xsl"?><client version="1.0" > <product> <lastDayErrorLogs><log> <logEvent timestamp="2013-1-15_10:56:6" severity="1" messageCode="CNX_53021" message="Solicita??o inv
 
Back
Top