SAX Exception

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

SAX Exception

Postby barney » Tue Jul 28, 2009 3:12 am

Hi guys,

I've been getting this xml.sax.SAXException when trying to parse a URL I've tried a million different URLs and I finally got a URL that didn't return a malformed URL exception. But now I've been getting the SAX Exception that I have no idea how to fix. Here's the snippet of code I'm trying to debug:

SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
InputStream s = url.openStream();
InputSource i = new InputSource(s);

Where the url points to ""

Been stuck on this with no solution. Any help would be appreciated.


Junior Developer
Junior Developer
Posts: 14
Joined: Tue Apr 28, 2009 5:40 am


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests