* xmlSAX2EndElementNs: * @ctx: the user data (XML parser context) * @localname: the local name of the element * @prefix: the element namespace prefix if available * @URI: the element namespace name if available * * SAX2 callback when an element end has been detected by the parser. * It provides the namespace information for the element. */
| 2329 | * It provides the namespace information for the element. |
| 2330 | */ |
| 2331 | void |
| 2332 | xmlSAX2EndElementNs(void *ctx, |
| 2333 | const xmlChar * localname ATTRIBUTE_UNUSED, |
| 2334 | const xmlChar * prefix ATTRIBUTE_UNUSED, |
| 2335 | const xmlChar * URI ATTRIBUTE_UNUSED) |
| 2336 | { |
| 2337 | xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; |
| 2338 | |
| 2339 | if (ctx == NULL) return; |
| 2340 | ctxt->nodemem = -1; |
| 2341 | |
| 2342 | #ifdef LIBXML_VALID_ENABLED |
| 2343 | if (ctxt->validate && ctxt->wellFormed && |
| 2344 | ctxt->myDoc && ctxt->myDoc->intSubset) |
| 2345 | ctxt->valid &= xmlValidateOneElement(&ctxt->vctxt, ctxt->myDoc, |
| 2346 | ctxt->node); |
| 2347 | #endif /* LIBXML_VALID_ENABLED */ |
| 2348 | |
| 2349 | /* |
| 2350 | * end of parsing of this node. |
| 2351 | */ |
| 2352 | nodePop(ctxt); |
| 2353 | } |
| 2354 | |
| 2355 | /** |
| 2356 | * xmlSAX2Reference: |