You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alexander Nofftz <al...@nofftz.name> on 2006/01/13 17:45:03 UTC
XML parsing and
Hi!
I use the portal engine to aggregate some RSS feeds. If some newsfeed
returns invalid XML, the whole portal isn't running anymore.
Some newsfeed returned incorrectly some HTML 404 page containing a
PUBLIC DOCTYPE without DTD reference. This breaks up everything. I tried
to catch this via <map:handle-errors> but this doesn't work in this
case.
Regards,
Alex
--
Alexander Nofftz, Leverkusen, Germany, EU, Terra, Solar System
Alexander@Nofftz.name --- http://www.AlexNofftz.de/
Jabber: alexnofftz@amessage.de (Jabber?! http://de.wikipedia.org/wiki/Jabber)
Re: XML parsing and
Posted by Geert Josten <Ge...@daidalos.nl>.
Perhaps use the HTMLGenerator on the RSS feeds?
You could also call your RSS reading pipes through the http stack and read that result, but I guess
that makes the application quite slower.
Cheers,
Geert
Alexander Nofftz wrote:
> Hi!
>
> I use the portal engine to aggregate some RSS feeds. If some newsfeed
> returns invalid XML, the whole portal isn't running anymore.
>
> Some newsfeed returned incorrectly some HTML 404 page containing a
> PUBLIC DOCTYPE without DTD reference. This breaks up everything. I tried
> to catch this via <map:handle-errors> but this doesn't work in this
> case.
>
> Regards,
> Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org