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

Function xmlSchemaSetValidStructuredErrors

ThirdParty/libxml2/vtklibxml2/xmlschemas.c:27682–27694  ·  view source on GitHub ↗

* xmlSchemaSetValidStructuredErrors: * @ctxt: a schema validation context * @serror: the structured error function * @ctx: the functions context * * Set the structured error callback */

Source from the content-addressed store, hash-verified

27680 * Set the structured error callback
27681 */
27682void
27683xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
27684 xmlStructuredErrorFunc serror, void *ctx)
27685{
27686 if (ctxt == NULL)
27687 return;
27688 ctxt->serror = serror;
27689 ctxt->error = NULL;
27690 ctxt->warning = NULL;
27691 ctxt->errCtxt = ctx;
27692 if (ctxt->pctxt != NULL)
27693 xmlSchemaSetParserStructuredErrors(ctxt->pctxt, serror, ctx);
27694}
27695
27696/**
27697 * xmlSchemaGetValidErrors:

Calls 1

Tested by 1

schemasOneTestFunction · 0.68