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

Function xmlFatalErr

ThirdParty/libxml2/vtklibxml2/parserInternals.c:363–378  ·  view source on GitHub ↗

* xmlFatalErr: * @ctxt: an XML parser context * @code: the error number * @info: extra information string * * Handle a fatal parser error, i.e. violating Well-Formedness constraints */

Source from the content-addressed store, hash-verified

361 * Handle a fatal parser error, i.e. violating Well-Formedness constraints
362 */
363void
364xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors code, const char *info)
365{
366 const char *errmsg;
367
368 errmsg = xmlErrString(code);
369
370 if (info == NULL) {
371 xmlCtxtErr(ctxt, NULL, XML_FROM_PARSER, code, XML_ERR_FATAL,
372 NULL, NULL, NULL, 0, "%s\n", errmsg);
373 } else {
374 xmlCtxtErr(ctxt, NULL, XML_FROM_PARSER, code, XML_ERR_FATAL,
375 (const xmlChar *) info, NULL, NULL, 0,
376 "%s: %s\n", errmsg, info);
377 }
378}
379
380/**
381 * xmlIsLetter:

Callers 15

xmlSAX2ResolveEntityFunction · 0.85
xmlSAX2EntityDeclFunction · 0.85
xmlSAX2TextFunction · 0.85
xmlParserGrowFunction · 0.85
xmlCurrentCharFunction · 0.85
xmlSwitchEncodingFunction · 0.85
xmlSetDeclaredEncodingFunction · 0.85
xmlSBufReportErrorFunction · 0.85
xmlParseCharRefFunction · 0.85
xmlParseStringCharRefFunction · 0.85
xmlParseNameComplexFunction · 0.85

Calls 2

xmlErrStringFunction · 0.85
xmlCtxtErrFunction · 0.85

Tested by

no test coverage detected