JDK 1.6 and Xerces?

后端 未结 4 1010
轻奢々
轻奢々 2020-12-14 03:49

In my current project, we target a JDK 1.6 Runtime environment. For legacy rasons, Xerces JAR files are bundled in the application.

These are no longer needed right

4条回答
  •  心在旅途
    2020-12-14 04:37

    Bundling an XML parser has not been necessary since 1.4 when JAXP was added to the JRE. You should use JAXP and not directly call Xerces. Internally, the JRE bundles and uses Xerces anyways (with a "com.sun" prefix).

提交回复
热议问题