Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - SAX Exception

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();
xr.setContentHandler(this);
InputStream s = url.openStream();
InputSource i = new InputSource(s);
xr.parse(i);

Where the url points to "http://www.engadgetmobile.com/rss.xml"

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

Thanks,

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

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests