- release 1.8.2 - HTML handling improvement - new tree handling functions

- release 1.8.2
- HTML handling improvement
- new tree handling functions
- default namespace on attribute bug fixed
- libxml use for C++ fixed (for good this time !)
Daniel
diff --git a/SAX.c b/SAX.c
index 527efc0..6d95d44 100644
--- a/SAX.c
+++ b/SAX.c
@@ -548,7 +548,12 @@
 	return;
     }
 
-    namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, ns);
+    if (ns != NULL)
+	namespace = xmlSearchNs(ctxt->myDoc, ctxt->node, ns);
+    else {
+	namespace = NULL;
+    }
+
     /* !!!!!! <a toto:arg="" xmlns:toto="http://toto.com"> */
     ret = xmlNewNsProp(ctxt->node, namespace, name, NULL);