You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/04/13 14:20:52 UTC
[Bug 66012] New: Warning log about accessExternalStylesheet
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
Bug ID: 66012
Summary: Warning log about accessExternalStylesheet
Product: POI
Version: 5.2.2-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: SXSSF
Assignee: dev@poi.apache.org
Reporter: terminalxception@gmail.com
Target Milestone: ---
we migrated our application from POI v4.1.2 to v5.2.2, and during excel file
writing, POI leads to the 'Not supported:
http://javax.xml.XMLConstants/property/accessExternalStylesheet' warning
flushed by XALAN.
We use XALAN 2.7.2 and we cannot dictate a specific 'TransformerFactoryImpl'
since our application should support Tomcat/Liberty(OpenJDK-1.8) and
WebSphere(IBM JDK 1.8.0_271).
Trace:
WARN 027600 XMLHelper: SAX Feature unsupported [log suppressed for 5 minutes]
http://javax.xml.XMLConstants/property/accessExternalStylesheet
java.lang.IllegalArgumentException: Not supported:
http://javax.xml.XMLConstants/property/accessExternalStylesheet
at
org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:571)
~[xalan-2.7.2.jar:?]
at org.apache.poi.util.XMLHelper.trySet(XMLHelper.java:283)
~[poi-5.2.2.jar:5.2.2]
at
org.apache.poi.util.XMLHelper.getTransformerFactory(XMLHelper.java:224)
~[poi-5.2.2.jar:5.2.2]
at org.apache.poi.util.XMLHelper.newTransformer(XMLHelper.java:230)
~[poi-5.2.2.jar:5.2.2]
at
org.apache.poi.openxml4j.opc.StreamHelper.saveXmlInStream(StreamHelper.java:56)
~[poi-ooxml-5.2.2.jar:5.2.2]
at
org.apache.poi.openxml4j.opc.internal.ZipContentTypeManager.saveImpl(ZipContentTypeManager.java:68)
~[poi-ooxml-5.2.2.jar:5.2.2]
at
org.apache.poi.openxml4j.opc.internal.ContentTypeManager.save(ContentTypeManager.java:450)
~[poi-ooxml-5.2.2.jar:5.2.2]
at
org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:563)
~[poi-ooxml-5.2.2.jar:5.2.2]
at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1490)
~[poi-ooxml-5.2.2.jar:5.2.2]
at org.apache.poi.ooxml.POIXMLDocument.write(POIXMLDocument.java:227)
~[poi-ooxml-5.2.2.jar:5.2.2]
at
org.apache.poi.xssf.streaming.SXSSFWorkbook.write(SXSSFWorkbook.java:969)
~[poi-ooxml-5.2.2.jar:5.2.2]
Can 'org.apache.poi.util.XMLHelper' be updated to quietly set the
'accessExternalStylesheet' similar to the latest relaxation done on
'ACCESS_EXTERNAL_DTD' and 'ACCESS_EXTERNAL_SCHEMA'.
--
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
[Bug 66012] Warning log about accessExternalStylesheet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
--- Comment #3 from terminalxception <te...@gmail.com> ---
When can we expect the next release containing this fix? Thanks.
--
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
[Bug 66012] Warning log about accessExternalStylesheet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
--- Comment #2 from terminalxception <te...@gmail.com> ---
Agreed, appreciate your timely response.
--
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
[Bug 66012] Warning log about accessExternalStylesheet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
This is already fixed in trunk (but not yet released) - see
https://github.com/apache/poi/commit/9b60986f682ad3a23f3e5d4f19ddd645879ad8bb
It is just a warning log message - so it doesn't justify us rushing out a new
POI release.
--
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
[Bug 66012] Warning log about accessExternalStylesheet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
terminalxception <te...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--
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
[Bug 66012] Warning log about accessExternalStylesheet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66012
--- Comment #4 from Nick Burch <ap...@gagravarr.org> ---
Our last release was only in March. As this is just a warning log message, it
won't justify a special release for it. Likely it will be 3-6 months until we
have gathered enough bug fixes to justify the volunteer time to release
(The source is already available, so you could always do your own custom
internal build if this is causing you significantly more issues than for most
people)
--
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