spring-framework / org.springframework.http.converter.xml / SourceHttpMessageConverter / setProcessExternalEntities

setProcessExternalEntities

open fun setProcessExternalEntities(processExternalEntities: Boolean): Unit

Indicates whether external XML entities are processed when converting to a Source.

Default is false, meaning that external entities are not resolved.

Note: setting this option to true also automatically sets #setSupportDtd to true.