spring-framework / org.springframework.util.xml / StaxUtils / createDefensiveInputFactory

createDefensiveInputFactory

open static fun createDefensiveInputFactory(): XMLInputFactory

Create an XMLInputFactory with Spring's defensive setup, i.e. no support for the resolution of DTDs and external entities.

Return
a new input factory to use

Since
5.0