The Jena 2.10.1 snapshot includes its own version of xercesImpl with version 
2.11.0. Using this version is a problem because it is not "endorsed," (or 
perhaps it overrides an "endorsed" version?). That means that having it as a 
dependency, to make code that uses Jena happy, causes problems with (e.g.) 
JAXB2 and wsdl2java. For example:

[ERROR] Failed to execute goal 
org.apache.cxf:cxf-codegen-plugin:2.4.0:wsdl2java (generate-sources) on project 
xxx: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class 
org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from 
DTDDVFactory. -> [Help 1]

I do not fully understand all the ramifications of why this happens, even after 
Googling the operative part, but I'm wondering if you have encountered it and 
have a workaround.

Dave Lebling

Reply via email to