Revamped HTML parsing, lots of bug fixes for HTML stuff,
Added xmlValidGetValidElements and xmlValidGetPotentialChildren,
Completed and cleaned up the tests,
Added doc for new modules gnome-xml-xmlmemory.html and gnome-xml-nanohttp.html,
Daniel
diff --git a/testXPath.c b/testXPath.c
index 236f506..2c29849 100644
--- a/testXPath.c
+++ b/testXPath.c
@@ -90,7 +90,8 @@
         fprintf(output, "%d", i + 1);
 	if (cur->nodeTab[i] == NULL)
 	    fprintf(output, " NULL\n");
-	else if (cur->nodeTab[i]->type == XML_DOCUMENT_NODE)
+	else if ((cur->nodeTab[i]->type == XML_DOCUMENT_NODE) ||
+	         (cur->nodeTab[i]->type == XML_HTML_DOCUMENT_NODE))
 	    fprintf(output, " /\n");
 	else if (cur->nodeTab[i]->type == XML_ATTRIBUTE_NODE)
 	    xmlDebugDumpAttr(output, (xmlAttrPtr)cur->nodeTab[i], 2);