Rss feeds with malformed character '&'

Author Message

Lucie Foulhac

Monday 06 July 2009 12:56:18 am

Hi,

I use eZ Find to index rss feeds with Solr DataImportHandler. Everything goes well during the full import :

http://<host>:<port>/solr/dataimport?command=full-import

But if a rss feed is malformed with the caracter '&' instead '&amp;', I have an error and none of my rss feeds are indexed.

The error returned is :

"The entity name must immediately follow the '&' in the entity reference"

I saw that the 1.4 version of Solr will introduce a control on error behavior (abort, skip, continue) : http://issues.apache.org/jira/browse/SOLR-842

Does anybody ever had this problem and how to solve it?

Thanks,
Lucie

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.