【问题标题】:What is the relation between fasterxml(jackson-dataformat-xml) and Woodstox?fastxml(jackson-dataformat-xml) 和 Woodstox 之间有什么关系?
【发布时间】:2015-12-14 13:21:56
【问题描述】:

很抱歉,如果我的问题无效,但想知道 fastxml(jackson-dataformat-xml) 和 Woodstox 之间的关系是什么。文档(https://github.com/FasterXML/jackson-dataformat-xml) 建议我在使用 jackson-dataformat-xml 时添加 Woodstox 的 maven 依赖项。

【问题讨论】:

    标签: xml-parsing fasterxml


    【解决方案1】:

    jackson-dataformat-xml 项目不喜欢 JDK 提供的 Stax 实现(至少不是 JDK 8 提供的那个)。

    https://github.com/FasterXML/jackson-dataformat-xml/issues/32#issuecomment-236204012 有更多信息,但如果您想使用该库,最终您将需要更换 Stax(如 woodstox)。

    【讨论】:

      猜你喜欢
      • 2017-01-11
      • 1970-01-01
      • 2015-09-30
      • 1970-01-01
      • 2013-10-30
      • 2015-01-02
      • 2012-07-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多