Forum OpenACS Q&A: Re: Parsing RSS
The front tier folks would occasionally get errors when things like angle brackets showed up in my text. I found switching to using MS's XML DOM builder useful in avoiding these and similar errors, because that was what the front tier folks were using to parse it. After I switched, when there was an error parsing the file, I was very confident that it wasn't my code (it never was).
With XML, since the whole point is data interoperabililty, I would say that maximizing the odds of this by using something like tDOM would be worthwhile.
Also, I'm currently using both Amphetadesk and Radio Userland to parse RSS feeds (yes, I'm a news junkie) - they die all the time on people's feeds that aren't valid XML. From experience, generating valid XML by design is a very good thing.