Skip to main content

validate_xml_input

Function validate_xml_input 

Source
pub fn validate_xml_input(
    bytes: &[u8],
    policy: XmlSafetyPolicy,
) -> Result<(), XmlSafetyError>
Expand description

Validates one complete XML document without constructing a DOM.