DVFactoryException
Posted: Thu Aug 21, 2014 11:37 pm
Oxygen Author 16.0.0, Eclipse Kepler SP2, jdk1.7.0_67
I can't seem to get the oxygen SDK AuthorDocumentController.insertXMLFragment method to work.
Every time I try and call it I get the following exception. I have tried using the Maven included oxygen-xercesImpl-16.0.0.jar by default in the plugin project, and I have tried excluding it and only using the xercesImpl.jar in the the oxygen folder.
I can't seem to get the oxygen SDK AuthorDocumentController.insertXMLFragment method to work.
Every time I try and call it I get the following exception. I have tried using the Maven included oxygen-xercesImpl-16.0.0.jar by default in the plugin project, and I have tried excluding it and only using the xercesImpl.jar in the the oxygen folder.
Code: Select all
Caused by: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)
at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
at ro.sync.xml.parser.t.<init>(Unknown Source)
at org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration.<init>(Unknown Source)
at org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration.<init>(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXmlParserConfiguration(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXmlParserConfiguration(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXmlParserConfiguration(Unknown Source)
at ro.sync.xml.parser.ParserCreator.d(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXRNoValid(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXRNoValid(Unknown Source)
at ro.sync.xml.XmlUtil.extractTextBeforeRoot(Unknown Source)
at ro.sync.ecss.dom.b.l.c(Unknown Source)
at ro.sync.ecss.e.w.f(Unknown Source)
at ro.sync.ecss.e.h.vb(Unknown Source)
at ro.sync.ecss.e.h.ce(Unknown Source)
... 55 more