https://bz.apache.org/bugzilla/show_bug.cgi?id=59058
--- Comment #7 from Tim Allison <[email protected]> --- In XWPFDocument's onDocumentRead(), if we change: DocumentDocument doc = DocumentDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS); to: XMLInputFactory xmlif = XMLInputFactory.newInstance(); XMLStreamReader reader = xmlif.createXMLStreamReader(getPackagePart().getInputStream()); DocumentDocument doc = DocumentDocument.Factory.parse(reader, DEFAULT_XML_OPTIONS); We can parse both files. This change is on the periphery of my competence. Any problems with this? How can we require xerces via .newInstance()/newFactory()? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
