* xmlParseContent: * @ctxt: an XML parser context * * Parse XML element content. This is useful if you're only interested * in custom SAX callbacks. If you want a node list, use * xmlParseInNodeContext. */
| 9849 | * xmlParseInNodeContext. |
| 9850 | */ |
| 9851 | void |
| 9852 | xmlParseContent(xmlParserCtxtPtr ctxt) { |
| 9853 | if ((ctxt == NULL) || (ctxt->input == NULL)) |
| 9854 | return; |
| 9855 | |
| 9856 | xmlCtxtInitializeLate(ctxt); |
| 9857 | |
| 9858 | xmlParseContentInternal(ctxt); |
| 9859 | |
| 9860 | if (ctxt->input->cur < ctxt->input->end) |
| 9861 | xmlFatalErr(ctxt, XML_ERR_NOT_WELL_BALANCED, NULL); |
| 9862 | } |
| 9863 | |
| 9864 | /** |
| 9865 | * xmlParseElement: |
nothing calls this directly
no test coverage detected