Re: [xml] Parser error: html entities not defined

On Tue, 2007-09-04 at 07:01 -0400, Daniel Veillard wrote:
On Tue, Sep 04, 2007 at 06:39:01AM -0300, Bruno Dilly wrote:
Hi people,

I'm trying to parse RSS with html entities, but I'm having the
following errors when it tries to parse the rss file:
Entity 'ntilde' not defined;
Entity 'iacute' not defined;
  are the HTML entities defined in the RSS DTD ? if yes then you
need to ask to load the DTD. If no, then using them there is an error.

It's worse than that :-)

RSS requires HTML markup to be escaped in descriptions, so you have
to write things like
and the same for elements, &lt;i&gt;...&lt;/i&gt; to get <i>...</i> into
an RSS feed.

A lot of RSS feeds are invalid.


Liam Quin - XML Activity Lead, W3C,
Pictures from old books:

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