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 2021/11/16 18:21:04 UTC

[Bug 65326] multiple warning log about accessExternalSchema

https://bz.apache.org/bugzilla/show_bug.cgi?id=65326

Cody Lerum <co...@gmail.com> changed:

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

--- Comment #2 from Cody Lerum <co...@gmail.com> ---
I'm receiving this message still in 5.1.0 running JDK 17. Did the change to
remove the logging make it in to 5.1.0? It does seem to raise every 5 minutes
is this something that everyone is going to need to mute in their logging
configuration?

2021-11-16 17:12:54,452 WARN  [org.apache.poi.util.XMLHelper] (default
task-402) SAX Feature unsupported [log suppressed for 5
minutes]http://javax.xml.XMLConstants/property/accessExternalDTD:
java.lang.IllegalArgumentException: TransformerFactory does not recognise
attribute 'http://javax.xml.XMLConstants/property/accessExternalDTD'.
        at
org.apache.xalan//org.apache.xalan.xsltc.trax.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:373)
        at
__redirected.__TransformerFactory.setAttribute(__TransformerFactory.java:119)
        at
deployment.ROOT.war//org.apache.poi.util.XMLHelper.trySet(XMLHelper.java:284)
        at
deployment.ROOT.war//org.apache.poi.util.XMLHelper.getTransformerFactory(XMLHelper.java:224)
        at
deployment.ROOT.war//org.apache.poi.util.XMLHelper.newTransformer(XMLHelper.java:231)
        at
deployment.ROOT.war//org.apache.poi.openxml4j.opc.StreamHelper.saveXmlInStream(StreamHelper.java:56)
        at
deployment.ROOT.war//org.apache.poi.openxml4j.opc.internal.ZipContentTypeManager.saveImpl(ZipContentTypeManager.java:68)
        at
deployment.ROOT.war//org.apache.poi.openxml4j.opc.internal.ContentTypeManager.save(ContentTypeManager.java:450)
        at
deployment.ROOT.war//org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:554)
        at
deployment.ROOT.war//org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1487)
        at
deployment.ROOT.war//org.apache.poi.ooxml.POIXMLDocument.write(POIXMLDocument.java:227)

-- 
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