Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 81978 invoked from network); 9 Sep 2008 20:40:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2008 20:40:11 -0000 Received: (qmail 8455 invoked by uid 500); 9 Sep 2008 20:40:04 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 8289 invoked by uid 500); 9 Sep 2008 20:40:04 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 8278 invoked by uid 99); 9 Sep 2008 20:40:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 13:40:04 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.46.255.22] (HELO viefep17-int.chello.at) (213.46.255.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 20:39:05 +0000 Received: from edge04.upc.biz ([192.168.13.239]) by viefep17-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080909203924.NTQT13550.viefep17-int.chello.at@edge04.upc.biz> for ; Tue, 9 Sep 2008 22:39:24 +0200 Received: from [192.168.1.100] ([84.113.196.60]) by edge04.upc.biz with edge04 id CkfN1a02y1JfwPo04kfPY8; Tue, 09 Sep 2008 22:39:24 +0200 X-SourceIP: 84.113.196.60 Subject: Re: Exception when parsing RSS From: Simon Kitching Reply-To: skitching@apache.org To: Commons Users List In-Reply-To: <6bb4c8cb0809091314v768967ddse009db5a5cba9b62@mail.gmail.com> References: <6bb4c8cb0809091314v768967ddse009db5a5cba9b62@mail.gmail.com> Content-Type: text/plain Date: Tue, 09 Sep 2008 22:39:22 +0200 Message-Id: <1220992762.9810.4.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.23.91 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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