电脑技术学习

Woodstox XML 处理器 v3.0.0 发布

dn001
Woodstox XML 处理器 v3.0.0版本 发布了.

Woodstox是一个快速开源且符合StAX(STreaming Api for Xml processing)规范的XML处理器

Woodstox可以处理输入(相当于解析XML)与输出(相当于写入,序列化)。

官方提到Woodstox XML 处理器比sun RI速度要快, 要稳定.



新版本的新特性包括:
Re-designed validation subsystem, which:

Significant performance improvements to both reader and writers; especially when processing small documents (this on top of already acceptable performance of 2.0 series.)

Further improvements to XML conformance, now XML 1.0 and 1.1 conformance is over 99% as measure by the industry standard XMLTest conformance suite (tested using SAXTest and SAX wrappers from stax-utils).

Specifically conformance of DTD-handling is significantly improved.

Significantly improved test coverage, both regarding features tested and actual code coverage.

Improved inter-operability; behavior unified with the Stax reference implementation (including changes to one or both, as dictated by accepted Stax specification interpretations); addition of DOMSource that allows creating of XMLStreamReader from DOM tree; and addition of UTF-32 encoding support.

Additional operating modes: parsing mode (tree [default], forest, fragment); ability to handle undeclared entities gracefully (in non-entity-expanding mode).

Unification of writer and reader sides, by adding features writers were missing (optional line number reporting, xml warning handler, disabling of namespace handling), done in the context of Stax2 extended API.

标签: