I'm trying to get driving directions between two locations using the google directions api.
I have tried to parse the XML returned using different methods but I am always receiving the following error.
javax.xml.xpath.XPathExpressionException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
//code redacted