[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [syndication] Bad entities



In article <15297.54171.717803.675969@flutterby.com>, Dan Lyke
<danlyke@flutterby.com> writes
>Julian Bond writes:
>> >  XML RSS: Gonz&amp;aacute;les
>> 
>> Funnily enough the O'Reilly Meerkat feeds are currently doing this. And
>> I thought it was a bug! Maybe it's deliberate? They seem to be doing it
>> on all their own internally generated feeds and in all xml formats, RSS
>> 1.0 as well.
>
>All the Manila based feeds should as well, if Manila is still encoding
>the HTML in the description tag.

Well http://scriptingnews.userland.com/xml/rss.xml contains an
&amp;nbsp; So I guess they do. But only some entities as there's also
&lt; which is an XML entity and so correct. The difference with Meerkat
is that all entities are getting double encoded. "<" becomes &amp;lt;
This would take two decoding passes before passing it to the browser if
it's to render as intended.

-- 
Julian Bond    email: julian_bond@voidstar.com
CV/Resume:         http://www.voidstar.com/cv/
WebLog:               http://www.voidstar.com/
HomeURL:      http://www.shockwav.demon.co.uk/ 
M: +44 (0)77 5907 2173  T: +44 (0)192 0412 433
ICQ:33679568 tag:So many words, so little time