diff --git a/ChangeLog b/ChangeLog index 6b29e3c8..63481c3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 7 00:16:27 CEST 2005 Daniel Veillard + + * debugXML.c: patch from Oleg Paraschenko to fix xmlDebugDumpNode() + when handled a namespace node. + Sun Sep 4 23:36:45 CEST 2005 Daniel Veillard * NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild diff --git a/debugXML.c b/debugXML.c index 59529d6e..3985ad38 100644 --- a/debugXML.c +++ b/debugXML.c @@ -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--;