static void SAXEndElementNS(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI) { DFSAXParser *parser = (DFSAXParser *)ctx; if (parser->ignoreDepth > 0) { parser->ignoreDepth--; return; } if (parser->compatibility != NULL) DFMarkupCompatibilityPop(parser->compatibility); assert(parser->parent != NULL); parser->parent = parser->parent->parent; assert(parser->parent != NULL); }
void DFMarkupCompatibilityFree(DFMarkupCompatibility *mc) { while (mc->depth > 0) DFMarkupCompatibilityPop(mc); free(mc); }