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

Deescaping Atom brain damage

Subject: Deescaping Atom brain damage
From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2006 11:40:53 -0400
 Deescaping Atom brain damage
The following junk just showed up in an Atom feed I parse with XSLT:

<title type="html"><![CDATA[#359: Wilson&#8217;s Snipe]]></title>

Unbelievably, this is actually legal according to the Atom 1.0 specification. I knew they had decided to allow this brain damage in the entries. but I was shocked to see it in a title.

Has anyone figured out a sensible way to handle this sort of thing in XSLT 1.0? In my case, all I really need to do is copy the HTML markup into the output file. Maybe I can get away with disable-output-escaping. Anything else I should try?

--
o;?Elliotte Rusty Harold  elharo@xxxxxxxxxxxxxxx
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

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.