Page 1 of 1

RSS XML Parsing error

Posted: Wed Aug 31, 2005 4:38 pm
by gnubit
Is'n properly a serendipity error.

This is the message recived from the rss source
Errore XML: entità non definita
Percorso: http://www.ansa.it/main/notizie/awnplus ... ay_Idx.xml
Linea numero 35, colonna 25:<description>+0,3% pil 2° trim, +1,1% su anno</description>
------------------------^

This is the message from serendipity
Error on line 138 of /home/www/gnubit.org/bundled-libs/Onyx/RSS.php: File has an XML error (undefined entity at line 35).

Maybe the failure is in the "%" character?

Re: RSS XML Parsing error

Posted: Wed Aug 31, 2005 10:08 pm
by garvinhicking
Yes, the RSS parser cannot parse XML-invalid files. You need to kindly ask the owner of that XML feed to correct his errors. The error is that "°" is not a valid XML entity.

Regards,
Garvin