| 9878 | */ |
| 9879 | |
| 9880 | void |
| 9881 | xmlParseElement(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: |
no test coverage detected