mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
patch from Oleg Paraschenko to fix xmlDebugDumpNode() when handled a
* debugXML.c: patch from Oleg Paraschenko to fix xmlDebugDumpNode() when handled a namespace node. Daniel
This commit is contained in:
@ -1065,7 +1065,8 @@ xmlCtxtDumpNode(xmlDebugCtxtPtr ctxt, xmlNodePtr node)
|
||||
return;
|
||||
}
|
||||
xmlCtxtDumpOneNode(ctxt, node);
|
||||
if ((node->children != NULL) && (node->type != XML_ENTITY_REF_NODE)) {
|
||||
if ((node->type != XML_NAMESPACE_DECL) &&
|
||||
(node->children != NULL) && (node->type != XML_ENTITY_REF_NODE)) {
|
||||
ctxt->depth++;
|
||||
xmlCtxtDumpNodeList(ctxt, node->children);
|
||||
ctxt->depth--;
|
||||
|
Reference in New Issue
Block a user