fastxml(jackson-dataformat-xml) 和 Woodstox 之间有什么关系? [英] What is the relation between fasterxml(jackson-dataformat-xml) and Woodstox?
问题描述
如果我的问题无效,我很抱歉,但想知道 fastxml(jackson-dataformat-xml) 和 Woodstox 之间的关系.文档(https://github.com/FasterXML/jackson-dataformat-xml)建议我在使用 jackson-dataformat-xml 时添加 Woodstox 的 maven 依赖项.
I am sorry if my question is invalid but wanted to know what's the relation between fasterxml(jackson-dataformat-xml) and Woodstox. The documentation(https://github.com/FasterXML/jackson-dataformat-xml) suggests me to add maven dependency of Woodstox while using jackson-dataformat-xml.
推荐答案
jackson-dataformat-xml 项目不喜欢 JDK 提供的 Stax 实现(至少不是 JDK 8 提供的).
The jackson-dataformat-xml project does not like the Stax implementation provided by the JDK (at least not the one provided by JDK 8).
https://github.com/FasterXML/jackson-dataformat-xml/issues/32#issuecomment-236204012 有更多信息,但如果您想使用该库,最终您将需要替代 Stax(如 woodstox).
https://github.com/FasterXML/jackson-dataformat-xml/issues/32#issuecomment-236204012 has more information, but ultimately you will need a Stax replacement (like woodstox) if you want to use the library.
这篇关于fastxml(jackson-dataformat-xml) 和 Woodstox 之间有什么关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!