diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-12-17 21:38:09 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-12-17 21:38:09 +0000 |
commit | 5a9c1fdd407b9771bac3dec266645603828e4fa4 (patch) | |
tree | 3a88721b9a11755a43495ac56d34159345f3d78a /debugXML.c | |
parent | 91b955c1af5636a0765201c32180cfc67ee426a8 (diff) | |
download | android_external_libxml2-5a9c1fdd407b9771bac3dec266645603828e4fa4.tar.gz android_external_libxml2-5a9c1fdd407b9771bac3dec266645603828e4fa4.tar.bz2 android_external_libxml2-5a9c1fdd407b9771bac3dec266645603828e4fa4.zip |
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)
Diffstat (limited to 'debugXML.c')
-rw-r--r-- | debugXML.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); |