Skip to main content

xmlParserOption_XML_PARSE_DTDVALID

Constant xmlParserOption_XML_PARSE_DTDVALID 

Source
pub const xmlParserOption_XML_PARSE_DTDVALID: xmlParserOption = 16;
Expand description

This option enables DTD validation which requires to load external DTDs and external entities (both general and parameter entities) unless XML_PARSE_NO_XXE was set.

DTD validation is vulnerable to algorithmic complexity attacks and should never be enabled with untrusted input.