Closed ceki closed 2 years ago
Fixed in 98e380decc741e0e
@ceki,
I believe that for backward compatibility the setFeature
calls should be in their own try ... catch
. A missing setFeature()
method or support for the required features should not cause a parsing error, just a warning.
Certain older DocumentBuilderFactory implementations lack the setFeature function. This causes an AbstractMethodError method to be thrown in org.apache.log4j.xml.DOMConfigurator.doConfigure(ParseAction, LoggerRepository)
Instead of letting the user identify the issue, better to catch and report this