digester3解析xml(rss)手记
因为需要写个程序解析RSS,于是下载了最新的digester3版本:commons-digester3-3.2-bin.zip
http://commons.apache.org/proper/commons-logging/download_logging.cgi
用以前的惯常写法,一直不行。
一直报这样一个错public class Channel {private final List<Item> items = new ArrayList<Item>();//@BeanPropertySetter( pattern = "rss/channel/title") private String title; //@BeanPropertySetter( pattern = "rss/channel/link") private String link; //@BeanPropertySetter( pattern = "rss/channel/description") private String description; //@BeanPropertySetter( pattern = "rss/channel/language") private String language; //@BeanPropertySetter( pattern = "rss/channel/copyright")private String copyright ; //@BeanPropertySetter( pattern = "rss/channel/dc:creator")private String creator ; //@BeanPropertySetter( pattern = "rss/channel/dc:rights")private String rights ;。。。