two patches from James Bursa on the HTML parser and a typo reindenting,

* HTMLparser.c tree.c: two patches from James Bursa on the HTML
  parser and a typo
* xmlschemastypes.c: reindenting, fixing a memory access
  problem with dates.
Daniel
diff --git a/tree.c b/tree.c
index 67f4399..99bbe88 100644
--- a/tree.c
+++ b/tree.c
@@ -2970,8 +2970,8 @@
     if ((cur->type == XML_DOCUMENT_NODE) ||
 #ifdef LIBXML_DOCB_ENABLED
 	(cur->type == XML_DOCB_DOCUMENT_NODE) ||
-	(cur->type == XML_HTML_DOCUMENT_NODE)) {
 #endif
+	(cur->type == XML_HTML_DOCUMENT_NODE)) {
 	xmlFreeDoc((xmlDocPtr) cur);
 	return;
     }