1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

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
This commit is contained in:
Daniel Veillard 2003-10-28 13:26:51 +00:00
parent 4772af6c74
commit cec50a6aff
3 changed files with 15 additions and 0 deletions

View File

@ -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

6
TODO
View File

@ -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:
==================================

4
tree.c
View File

@ -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;