commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject Re: Exception when parsing RSS
Date Tue, 09 Sep 2008 20:39:22 GMT
On Tue, 2008-09-09 at 17:14 -0300, Adriano Bonat wrote:
> Hello,
> 
> I'm using Digester to parse a Google News RSS feed, but sometimes I'm
> getting the following exception:
> 
> org.xml.sax.SAXParseException: Open quote is expected for attribute
> "face" associated with an  element type  "font".
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1685)
> ...
> 
> anybody knows what can I do to solve this exception and be able to
> normally get the contents?

Can you post the relevant part of the rss input text?

>>From this error message, it sure looks like the input is invalid xml.
And if that is the case, then there is no way to parse it with any xml
parser.

If it is intermittent, then maybe you are getting intermittent
truncation of the input data stream.

Regards,
Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message