Skip to main content

validate_element_decl

Function validate_element_decl 

Source
pub unsafe fn validate_element_decl(
    ctxt: *mut _xmlValidCtxt,
    doc: *mut _xmlDoc,
    elem: *mut _xmlElement,
) -> c_int
Expand description

Upstream xmlValidateElementDecl(ctxt, doc, elem): verifies the declaration is not duplicated and that MIXED content models do not list the same element twice.

§SAFETY

  • ctxt/doc may be NULL; elem a valid pointer or NULL.