You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Ishaque Shaikh <is...@gmail.com> on 2020/02/02 16:56:31 UTC
Disable External DTD apache-Xalan 2.7.2
Hi,
I have been using xalan-2.7.2 for one of my projects. To my understanding,
calling setFeature(FEATURE_SECURE_PROCESSING, true) on
org.apache.xalan.processor.TransformerFactoryImpl
instance disable external dtd processing. XMLConstants.ACCESS_EXTERNAL_DTD
and XMLConstants.ACCESS_EXTERNAL_STYLESHEET are not supported. Is this
correct?
I have seen
https://stackoverflow.com/questions/27128578/set-feature-accessexternaldtd-in-transformerfactory#29021326.
However, I was unable to find the source code in xalan-2.7.2.jar. Please
advise.
Thank you,
Ishaque Shaikh