in reply to Re: Parsing badly formed RSS or XML
in thread Parsing badly formed RSS or XML
I realise that XML parsers are supposed to reject badly formed XML, but in my limited experience, a sizeable proportion of RSS feeds are badly deployed.
I have alerted several Webmasters to problems I've encountered, but problems aren't always fixed.
Until recently, I used code very similar to what you have above. However, I frequently found myself missing information from badly formed RSS feeds. I can understand the benefits of ignoring badly-formed XML in mission critical situations, but for RSS feeds I'd rather misinterpret the information I'm receiving than receive no information at all. Others' opinions may differ.
With hindsight, I should have written a strong disclaimer with my code that it breaks the XML spec.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Parsing badly formed RSS or XML
by davorg (Chancellor) on Feb 22, 2001 at 21:43 UTC | |
by tomhukins (Curate) on Feb 22, 2001 at 22:08 UTC |