Skip to main content

validate_name

Function validate_name 

Source
pub unsafe fn validate_name(value: *const xmlChar) -> c_int
Expand description

Validate whether value is a valid XML Name.

§UPSTREAM-PARITY

int xmlValidateName(const xmlChar *value);

Returns 1 if valid, 0 if not.

§SAFETY

  • value must be a valid null-terminated string or NULL.