patch from Marcus Clarke fixing a problem in entities parsing that was
* parser.c: patch from Marcus Clarke fixing a problem in entities
parsing that was detected in KDe documentations environment.
Daniel
diff --git a/ChangeLog b/ChangeLog
index ad8093b..f424888 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 25 14:18:27 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * parser.c: patch from Marcus Clarke fixing a problem in entities
+ parsing that was detected in KDe documentations environment.
+
Mon Nov 24 14:13:21 CET 2002 ERDI Gergo <cactus@cactus.rulez.org>
* python/libxml.c (libxml_prev): Return the previous as opposed to
diff --git a/parser.c b/parser.c
index 41e4caf..af56970 100644
--- a/parser.c
+++ b/parser.c
@@ -9820,7 +9820,7 @@
ctxt->myDoc = oldctxt->myDoc;
content = ctxt->myDoc->children;
}
- ctxt->myDoc->children = xmlNewDocNode(newDoc, NULL,
+ ctxt->myDoc->children = xmlNewDocNode(ctxt->myDoc, NULL,
BAD_CAST "pseudoroot", NULL);
if (ctxt->myDoc->children == NULL) {
ctxt->sax = oldsax;