From: Joseph O. <jo...@en...> - 2003-02-14 00:01:34
|
Two bugs! Thank you VERY MUCH - and I'll attack these tomorrow, to get them straightened out. 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 |