diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-01-04 21:50:05 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-01-04 21:50:05 +0000 |
commit | 48df9613ba18a51f8bbcc8b089ff96dbeca55ad7 (patch) | |
tree | 989974f51d708a7757d7b9b5e24851db9367c242 /parser.c | |
parent | be076e9b0611e941d9cdf297a8988ddd6639fa74 (diff) | |
download | android_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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) && |