What is the relation between fasterxml(jackson-dataformat-xml) and Woodstox?

本秂侑毒 提交于 2019-12-11 14:00:02

问题


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.


回答1:


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 has more information, but ultimately you will need a Stax replacement (like woodstox) if you want to use the library.



来源:https://stackoverflow.com/questions/34268150/what-is-the-relation-between-fasterxmljackson-dataformat-xml-and-woodstox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!