Update:- Seems like I have to give the URL which is returning me the xml. Here it is - URL
I am getting SAXParseException when parsing an xml.
The problem was in the encoding. The following answer explains it properly -
https://stackoverflow.com/a/2869127/1079901
I just have to call this regex on the response string -
response = response.replaceAll("[^\\x20-\\x7e]", "");
Thanks to BalusC for such a perfect answer.