Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
odfdom-0.8.6
-
None
-
Operating System: All
Platform: All
-
220
Description
Currently in OdfPackage and OdfDocument the SAX Parser is taken by considering environment settings using
SAXParserFactory saxFactory = SAXParserFactory.newInstance();
This brings up problems if none Xerces SAX Parser are being used, when the the following Xerces feature are being set.
As there is a Xerces dependency explict by DOM inheritance, the same dependency should be made explicitly using
SAXParserFactory saxFactory = new org.apache.xerces.jaxp.SAXParserFactoryImpl();
Changing one line in each OdfPackage and OdfDocument.
Patch will follow..