Joe, the new version of RSSLibJ on sourceforge has both of the fixes in.
BTW, I mentioned your comment on mark() to the EXML list, and Graham
Glass' reply was:
"good point - we could put the mark test directly into the
constructor which takes a Reader.
cheers,
graham"
BTW, I mentioned you as the one who pointed this out, so kudos will be
throwin in your direction and not mine. :)
On Thu, 13 Feb 2003, Joseph Shelby wrote:
> Channel.getFeed yarfs if one didn't set an Image, using RDF/100 syntax.
>
> [java] java.lang.IllegalArgumentException: attribute rdf:resource must have data in image
> [java] at com.rsslibj.writers.GenericRSSWriter.addNSAttribute(Unknown Source)
> [java] at com.rsslibj.writers.defaults.rss100.addImageRef(Unknown Source)
> [java] at com.rsslibj.writers.defaults.rss100.getFeed(Unknown Source)
> [java] at com.rsslibj.elements.Channel.getFeed(Unknown Source)
>
> I was under the impression that images were optional. Channel has
> "Image image = new Image()" which isn't quite right, since null
> is a legit value; it should be the default. An uninitialized Image
> causes problems with RDF.
>
> Unfortunately, there's no setImage(image/null) or removeImage() method.
>
> TextInput also should be null to start with, and have a clear or null
> setting ability.
>
> Joe
>
---------------------------------------------------------
Joseph B. Ottinger jo...@en...
http://enigmastation.com IT Consultant
|