Skip to main content

validate_names

Function validate_names 

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

Validate whether value is a whitespace-separated list of XML Names.

§UPSTREAM-PARITY

int xmlValidateNames(const xmlChar *value);

Returns 1 if valid, 0 if not.

§SAFETY

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