From Expat manual:
typedef void
(*XML_EndNamespaceDeclHandler)(void *userData,
const XML_Char *prefix);
Set a handler to be called when leaving the scope of a namespace declaration. This will be called, for each namespace declaration, after the handler for the end tag of the element in which the namespace was declared.