Skip to main content

xmlTextReaderNormalization

Function xmlTextReaderNormalization 

Source
#[unsafe(no_mangle)]
pub const unsafe extern "C" fn xmlTextReaderNormalization( reader: *mut XmlTextReader, ) -> c_int
Expand description

Return the normalization status of the reader.

§UPSTREAM-PARITY

Upstream xmlTextReaderNormalization returns 1 when the reader performs whitespace normalization (it always reports 1 unless the parser was configured otherwise). The candidate normalizes attribute values per the XML spec during parsing, so report 1.

int xmlTextReaderNormalization(xmlTextReaderPtr reader);

§Safety

reader must be a valid pointer or NULL.