[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: rss, in all its guises

Subject: Re: rss, in all its guises
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Sun, 20 Jul 2003 18:32:29 -0400
malformed rss xml
At 9:07 AM +0100 7/18/03, David.Pawson@xxxxxxxxxxx wrote:
Has anyone (else) written a stylesheet which processes the common
rss feed formats?
http://www.xml.com/pub/a/2003/04/09/xquery.html
shows a query processing method, not very robust;


There are two big problems with using XSL (or any other XML tool) to process RSS:


1. Many RSS feeds are malformed. To make matters worse many RSS tools do not follow the XML spec, and allow malformed RSS rather than dropping it on the floor. This encourages the promulgation of more malformed RSS.

2. RSS documents often contain escaped markup hidden inside CDATA sections.

Both of these are severe violations of the letter and spirit of the XML spec. They make it effectively impossible to handle RSS with XML tools. For these reasons, I used RSS as an example of not to design an XML application in Effective XML.

The next version of RSS *may* perhaps fix these problems. However, right now there seem to be a lot of developers who prefer to work with ugly, broken, non-XML than to make the minimal effort to generate well-formed XML that uses markup as markup and text as text. They are being penny-wise and pound-foolish. I am not optimistic about the future of RSS as a result.
--


  Elliotte Rusty Harold
  elharo@xxxxxxxxxxxxxxx
  Processing XML with Java (Addison-Wesley, 2002)
  http://www.cafeconleche.org/books/xmljava
  http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.