Apache Commons Digester 3.0 几乎重写了整个 Digester 实现,包括一个统一的加载器、可重用的 Digester 配置以及使用 EDSL 定义的表达式规则、改进了错误报告信息等。
除此之外,还包括以下改进内容:
New features:
o Allow SetNextRule to fire on begin Issue: DIGESTER-72.
o Include filename or uri if Digester.parse(File file or String uri throws a SAXException Issue: DIGESTER-85.
o xmlrules does not support setNamespaceURI Issue: DIGESTER-90.
o Need to process [attribute id="name"]somename[/attribute] Issue:DIGESTER-105.
o Allow DigesterLoader to accept an instance of a preconfigured Digester Issue: DIGESTER-127.
o Allow recursive match in ExtendedBaseRules. Issue: DIGESTER-131.
o Add a CompoundSubstitutor to support more than one Substitutors at a time. Issue: DIGESTER-132.
Fixed Bugs:
o Default ClassLoader policy unusable in EAR archive Issue: DIGESTER-28.
o xmlrules does not support NodeCreateRule Issue: DIGESTER-103.
o ObjectCreateRule shouldn't keep className as a field. Issue: DIGESTER-118.
o xmlrules dtd does not define xmlattrs for node-create-rule Issue: DIGESTER-123.
o Bug in SetPropertyRule. Issue: DIGESTER-134.
Changes:
o Public/protected static fields which intended as constants, but which are not marked final. Issue: DIGESTER-137.
下载地址请点这里 http://commons.apache.org/digester/download_digester.cgi
