pub fn xml_validate_document(doc: &XmlDoc) -> Result<(), String>
xmlValidateDocument against the document’s attached DTD.
xmlValidateDocument