I just wanted to report that I've tried TagSoup and at first glance it
seems to be doing exactly what I want - this is great! Instead of
using a SAXParserFactory I'm now using the SAXFactoryImpl class in
TagSoup to instantiate a new SAXParser. I will need to look it over a
bit more but it just p
In my experience, the problem is in many cases in the character
encoding used in the feed. If the feed is encoded using ISO-8859-1
encoding (which is what CNN top stories appears to use), and you are
trying to read it using the default UTF-8 encoding some symbols will
come as invalid and break the
OK, thanks all. I didn't realize the problem was as pervasive as it
is. I'm presenting a limited set of feeds so I'm hoping the scrub
approach will work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Dev
On Sun, Mar 1, 2009 at 12:48 AM, 3D wrote:
>
> I'm working on the same problem right now. I'll take a look at
> TagSoup. Otherwise, I was just thinking of scrubbing out the invalid
> tokens before sending it to the xml reader. Please let me know what
> you find/ decide to do.
Scrubbing it wil
I'm working on the same problem right now. I'll take a look at
TagSoup. Otherwise, I was just thinking of scrubbing out the invalid
tokens before sending it to the xml reader. Please let me know what
you find/ decide to do.
On Feb 28, 8:19 pm, Tim Bray wrote:
> On Sat, Feb 28, 2009 at 5:53 P
On Sat, Feb 28, 2009 at 5:53 PM, grennis wrote:
>
> I'm using the SAX parser to read some RSS feeds and have found a
> problem
In general you can't use a real XML processor, which the java SAX
stuff is, to read RSS feeds. Lots and lots of them aren't XML at all.
Atom 1.0 is better, but lots of
6 matches
Mail list logo