poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62692] WildFly XML parser not properly supported - Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized
Date Fri, 07 Sep 2018 21:01:56 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62692

Dominik Stadler <dominik.stadler@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Dominik Stadler <dominik.stadler@gmx.at> ---

There are a few more isses, I just adjusted the CI build at
https://builds.apache.org/view/P/view/POI/job/POI-DSL-old-Xerces/96/console to
really run with Xerces and now a few more unit tests fail:

1) testXMLReader(org.apache.poi.ooxml.util.TestSAXHelper)
     [java] org.xml.sax.SAXNotRecognizedException:
http://javax.xml.XMLConstants/feature/secure-processing
     [java]     at
org.apache.xerces.parsers.AbstractSAXParser.getFeature(Unknown Source)
     [java]     at
org.apache.poi.ooxml.util.TestSAXHelper.testXMLReader(TestSAXHelper.java:34)

 [java] 2)
testDocumentBuilderFactory(org.apache.poi.ooxml.util.TestDocumentHelper)
     [java] java.lang.AbstractMethodError:
javax.xml.parsers.DocumentBuilderFactory.getFeature(Ljava/lang/String;)Z
     [java]     at
org.apache.poi.ooxml.util.TestDocumentHelper.testDocumentBuilderFactory(TestDocumentHelper.java:40)

[java] 3) testBuiltinStyleInit(org.apache.poi.xssf.usermodel.TestTableStyles)
     [java] java.lang.AbstractMethodError:
org.apache.xml.serialize.DOMSerializerImpl.getDomConfig()Lorg/w3c/dom/DOMConfiguration;
     [java]     at
org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.styleXML(XSSFBuiltinTableStyle.java:424)
     [java]     at
org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.init(XSSFBuiltinTableStyle.java:406)
     [java]     at
org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.getStyle(XSSFBuiltinTableStyle.java:346)
     [java]     at
org.apache.poi.xssf.usermodel.TestTableStyles.testBuiltinStyleInit(TestTableStyles.java:45)


[java] 4)
zipBombCheckSizesWithinLimits(org.apache.poi.openxml4j.opc.TestPackage)
     [java] org.apache.poi.ooxml.POIXMLException: Zip bomb detected! The file
would exceed the max size of the expanded data in the zip-file.
     [java] This may indicates that the file is used to inflate memory usage
and thus could pose a security risk.
     [java] You can adjust this limit via ZipSecureFile.setMaxEntrySize() if
you need to work with files which are very large.
     [java] Uncompressed size: 1048807, Raw/compressed size: 57587
     [java] Limits: MAX_ENTRY_SIZE: 1048783, Entry: xl/sharedStrings.xml
     [java]     at
org.apache.poi.ooxml.POIXMLFactory.createDocumentPart(POIXMLFactory.java:66)
     [java]     at
org.apache.poi.ooxml.POIXMLDocumentPart.read(POIXMLDocumentPart.java:648)
     [java]     at
org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:180)
     [java]     at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:286)
     [java]     at
org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.createWorkbook(XSSFWorkbookFactory.java:83)
     [java]     at
org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.createWorkbook(XSSFWorkbookFactory.java:111)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message