Finally got a solution,it was problem with encoding "&"(special character) by saxParser so i have replace "&
" with &
. now its working perfectly, code is shown below:
response = response.replaceAll("&", "&");
InputSource inputSource = new InputSource();
inputSource.setEncoding("UTF-8");
Log.i("TAG", "response" + response);
inputSource.setCharacterStream(new StringReader(response));
xr.parse(inputSource);