excluded a few nodes (with no content) from the string check routine.

* debugXML.c: excluded a few nodes (with no content) from the
  string check routine.
diff --git a/debugXML.c b/debugXML.c
index 9b7163d..afc0114 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -63,8 +63,9 @@
 }
 
 static void
-xmlCtxtDumpCleanCtxt(xmlDebugCtxtPtr ctxt)
+xmlCtxtDumpCleanCtxt(xmlDebugCtxtPtr ctxt ATTRIBUTE_UNUSED)
 {
+ /* remove the ATTRIBUTE_UNUSED when this is added */
 }
 
 /**
@@ -283,10 +284,13 @@
     }
 
     if ((node->type != XML_ELEMENT_NODE) &&
-        (node->type != XML_HTML_DOCUMENT_NODE) &&
-        (node->type != XML_DOCUMENT_NODE)) {
+	(node->type != XML_ATTRIBUTE_NODE) &&
+	(node->type != XML_ATTRIBUTE_DECL) &&
+	(node->type != XML_DTD_NODE) &&
+	(node->type != XML_HTML_DOCUMENT_NODE) &&
+	(node->type != XML_DOCUMENT_NODE)) {
 	if (node->content != NULL)
-	    xmlCtxtCheckString(ctxt, (const char *) node->content);
+	    xmlCtxtCheckString(ctxt, (const xmlChar *) node->content);
     }
 }