MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlTextReaderRelaxNGValidate

Function xmlTextReaderRelaxNGValidate

ThirdParty/libxml2/vtklibxml2/xmlreader.c:4526–4530  ·  view source on GitHub ↗

* xmlTextReaderRelaxNGValidate: * @reader: the xmlTextReaderPtr used * @rng: the path to a RelaxNG schema or NULL * * Use RelaxNG schema to validate the document as it is processed. * Activation is only possible before the first Read(). * If @rng is NULL, then RelaxNG schema validation is deactivated. * * Returns 0 in case the schemas validation could be (de)activated and * -1 i

Source from the content-addressed store, hash-verified

4524 * -1 in case of error.
4525 */
4526int
4527xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader, const char *rng)
4528{
4529 return(xmlTextReaderRelaxNGValidateInternal(reader, rng, NULL, 0));
4530}
4531
4532#endif
4533

Callers 2

streamFileFunction · 0.85
streamProcessTestFunction · 0.85

Tested by 1

streamProcessTestFunction · 0.68