From cec50a6affcb86f64b52fce6dce3e491c6d59d3c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 28 Oct 2003 13:26:51 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ TODO | 6 ++++++ tree.c | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 27d142b2..b92dc8f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 28 13:48:52 CET 2003 Daniel Veillard + + * tree.c: fix bug #125047 about serializing when finding a + document fragment node. + Mon Oct 27 11:11:29 EST 2003 Daniel Veillard * testSAX.c: fix bug #125592 need a NULL check diff --git a/TODO b/TODO index 69c0f15d..1af220ee 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 acb19206..5847f5cb 100644 --- a/tree.c +++ b/tree.c @@ -7451,6 +7451,10 @@ xmlNodeDumpOutputInternal(xmlOutputBufferPtr buf, xmlDocPtr doc, 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;