RSS XML Parsing error

Found a bug? Tell us!!
Post Reply
gnubit
Regular
Posts: 17
Joined: Thu Aug 25, 2005 3:30 pm
Location: Verona (Italy)
Contact:

RSS XML Parsing error

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS XML Parsing error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply