mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
fixed namespace bug in push mode reported by Rob Richards added it to the
* parser.c: fixed namespace bug in push mode reported by Rob Richards * test/ns6 result//ns6*: added it to the regression tests * xmlmodule.c testModule.c include/libxml/xmlmodule.h: added an extra option argument to module opening and defined a couple of flags to the API. Daniel
This commit is contained in:
2
parser.c
2
parser.c
@@ -9256,6 +9256,8 @@ xmlParseTryOrFinish(xmlParserCtxtPtr ctxt, int terminate) {
|
||||
(!ctxt->disableSAX))
|
||||
ctxt->sax->endElementNs(ctxt->userData, name,
|
||||
prefix, URI);
|
||||
if (ctxt->nsNr - nsNr > 0)
|
||||
nsPop(ctxt, ctxt->nsNr - nsNr);
|
||||
#ifdef LIBXML_SAX1_ENABLED
|
||||
} else {
|
||||
if ((ctxt->sax != NULL) &&
|
||||
|
Reference in New Issue
Block a user