I encountered this same problem with the CNN newsfeed. If I remember
correctly, the error was due to an empty title in one item, i.e.
<title></title>
This is completely valid w.r.t. the RSS 0.9.1 DTD. In fact, that DTD
is *very* loosely constrained, so that you could completely leave off
the <title> element and still be valid (or, you could even insert 20
titles for one item...). There is nothing that can be used by SAX to
throw an exception in this case, even when parsing with validation
turned on.
Dave
----- Original Message -----
From: "Carol Jones/Raleigh/IBM" <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Monday, October 30, 2000 8:49 AM
Subject: Re: RSSPorlet bug
> Kevin Burton <[EMAIL PROTECTED]> writes:
>
> >> Ideally Jetspeed should never see bad XML because it should throw
>
> >> a SAXException before hand.
>
>
>
> I don't think that would be good. The data I was looking at was a
newsfeed
>
> from CNN. Even if the XML is a little loose, I still want to see the
data
>
> displayed. Content providers don't necessarily do a good job of
giving you
>
> clean data to work with.
>
>
>
> Maybe there could be a "strict" version of the portlet and a
"forgiving"
> version
>
> of the portlet to handle both needs.
>
>
>
> Carol
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]