aboutsummaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-04 21:50:05 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-04 21:50:05 +0000
commit48df9613ba18a51f8bbcc8b089ff96dbeca55ad7 (patch)
tree989974f51d708a7757d7b9b5e24851db9367c242 /parser.c
parentbe076e9b0611e941d9cdf297a8988ddd6639fa74 (diff)
downloadandroid_external_libxml2-48df9613ba18a51f8bbcc8b089ff96dbeca55ad7.tar.gz
android_external_libxml2-48df9613ba18a51f8bbcc8b089ff96dbeca55ad7.tar.bz2
android_external_libxml2-48df9613ba18a51f8bbcc8b089ff96dbeca55ad7.zip
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
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 6ee9159b..02ccdb1e 100644
--- a/parser.c
+++ b/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) &&