From: Joseph S. <acr...@io...> - 2003-02-13 21:43:50
|
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 Shelby mailto:acr...@io... 45533 Stablemates Ct. http://www.io.com/~acroyear Sterling, VA 20164 (703) 404-0314 | 247-7868 Software Engineer, ISX Corporation, Arlington, VA "The people of England will permit anything...except cruelty to horses and a rise in the price of beer." -- Return of the Musketteers (1989) ---------------------------------------------------------------------- |