mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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)
This commit is contained in:
@ -894,7 +894,8 @@ xmlCtxtDumpOneNode(xmlDebugCtxtPtr ctxt, xmlNodePtr node)
|
||||
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 @@ xmlCtxtDumpOneNode(xmlDebugCtxtPtr ctxt, xmlNodePtr node)
|
||||
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);
|
||||
|
Reference in New Issue
Block a user