Getting error as "Ext.Error: You're trying to decode an invalid JSON String:"
On my page i am submitting a form. After submission of form at backend I execute webservice and webservice returns xml response. This xml returns failure response and I display appropriate message on my page.
Above operation works fine on Firefox 21 and all next versions but it fails on Firefox 20.0 and i get error as follows,
Ext.Error: You're trying to decode an invalid JSON String: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Firefox 20.0 is not able to handle failure response from webservice.
... Are you trying to parse XML as JSON?
After parsing xml, i am sending JSON response on view page. xml is returning failure message.