1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed a node dump crash on attributes fixed an URI test bug and get better

* tree.c: fixed a node dump crash on attributes
* test/xsdtest/xsdtest.xml test/xsdtest/xsdtest.xsl: fixed
  an URI test bug and get better output.
Daniel
This commit is contained in:
Daniel Veillard
2003-02-27 23:24:53 +00:00
parent 463a5479a8
commit 7b72ee5cfc
4 changed files with 15 additions and 1 deletions

4
tree.c
View File

@ -6993,6 +6993,10 @@ xmlNodeDumpOutputInternal(xmlOutputBufferPtr buf, xmlDocPtr doc,
xmlOutputBufferWriteString(buf, "]]>");
return;
}
if (cur->type == XML_ATTRIBUTE_NODE) {
xmlAttrDumpOutput(buf,doc,cur,encoding);
return;
}
if (cur->type == XML_NAMESPACE_DECL) {
xmlNsDumpOutput(buf, (xmlNsPtr) cur);
return;