fix bug #125047 about serializing when finding a document fragment node.
* tree.c: fix bug #125047 about serializing when finding a
document fragment node.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 27d142b..b92dc8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Oct 28 13:48:52 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * tree.c: fix bug #125047 about serializing when finding a
+ document fragment node.
+
Mon Oct 27 11:11:29 EST 2003 Daniel Veillard <daniel@veillard.com>
* testSAX.c: fix bug #125592 need a NULL check
diff --git a/TODO b/TODO
index 69c0f15..1af220e 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,9 @@
+125030 xmlXPathCompile() allows invalid xpath expressions to pass
+124907 HTML parse buffer problem when parsing larse in-memory docs
+124866 Python error catch for Relax-NG
+124110 DTD validation && wrong namespace
+124044 Segfault python bindings for reader
+123564 xmllint --html --format
TODO for the XML parser and stuff:
==================================
diff --git a/tree.c b/tree.c
index acb1920..5847f5c 100644
--- a/tree.c
+++ b/tree.c
@@ -7451,6 +7451,10 @@
xmlDtdDumpOutput(buf, (xmlDtdPtr) cur, encoding);
return;
}
+ if (cur->type == XML_DOCUMENT_FRAG_NODE) {
+ xmlNodeListDumpOutput(buf, doc, cur->children, level, format, encoding);
+ return;
+ }
if (cur->type == XML_ELEMENT_DECL) {
xmlDumpElementDecl(buf->buffer, (xmlElementPtr) cur);
return;