changed maintainer-clean dependency with suggestion from Crispin Flowerday
* doc/Makefile.am: changed maintainer-clean dependency with
suggestion from Crispin Flowerday (bug #157634)
* debugXML.c: fixed crash when ATTRIBUTE or DOCUMENT nodes
were specified with debugDumpNode (bug #160621)
diff --git a/debugXML.c b/debugXML.c
index 1b8fd70..a014f00 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -894,7 +894,8 @@
if (!ctxt->check)
xmlCtxtDumpSpaces(ctxt);
fprintf(ctxt->output, "Error, ATTRIBUTE found here\n");
- break;
+ xmlCtxtGenericNodeCheck(ctxt, node);
+ return;
case XML_TEXT_NODE:
if (!ctxt->check) {
xmlCtxtDumpSpaces(ctxt);
@@ -940,8 +941,9 @@
if (!ctxt->check) {
xmlCtxtDumpSpaces(ctxt);
}
- fprintf(ctxt->output, "PBM: DOCUMENT found here\n");
- break;
+ fprintf(ctxt->output, "Error, DOCUMENT found here\n");
+ xmlCtxtGenericNodeCheck(ctxt, node);
+ return;
case XML_DOCUMENT_TYPE_NODE:
if (!ctxt->check) {
xmlCtxtDumpSpaces(ctxt);