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

Function xmlParseElement

ThirdParty/libxml2/vtklibxml2/parser.c:9880–9899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9878 */
9879
9880void
9881xmlParseElement(xmlParserCtxtPtr ctxt) {
9882 if (xmlParseElementStart(ctxt) != 0)
9883 return;
9884
9885 xmlParseContentInternal(ctxt);
9886
9887 if (ctxt->input->cur >= ctxt->input->end) {
9888 if (ctxt->wellFormed) {
9889 const xmlChar *name = ctxt->nameTab[ctxt->nameNr - 1];
9890 int line = ctxt->pushTab[ctxt->nameNr - 1].line;
9891 xmlFatalErrMsgStrIntStr(ctxt, XML_ERR_TAG_NOT_FINISHED,
9892 "Premature end of data in tag %s line %d\n",
9893 name, line, NULL);
9894 }
9895 return;
9896 }
9897
9898 xmlParseElementEnd(ctxt);
9899}
9900
9901/**
9902 * xmlParseElementStart:

Callers 1

xmlParseDocumentFunction · 0.85

Calls 3

xmlParseElementStartFunction · 0.85
xmlParseContentInternalFunction · 0.85
xmlParseElementEndFunction · 0.85

Tested by

no test coverage detected