comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2

* HTMLparser.c tree.c xmlIO.c: comments cleanups
* Makefile.am: use xmllint for doing the RelaxNG tests
* configure.in: preparing 2.5.2 made schemas support default to
  on instead of off
* relaxng.c: removed the verbosity
* xmllint.c: added --relaxng option
* python/generator.py python/libxml_wrap.h: prepared the integration
  of the new RelaxNG module and schemas
* result/relaxng/*: less verbose output
Daniel
diff --git a/python/generator.py b/python/generator.py
index 3af74bc..95212d6 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -420,6 +420,11 @@
         include.write("#ifdef LIBXML_REGEXP_ENABLED\n");
         export.write("#ifdef LIBXML_REGEXP_ENABLED\n");
         output.write("#ifdef LIBXML_REGEXP_ENABLED\n");
+    elif file == "xmlschemas" or file == "xmlschemastypes" or \
+         file == "relaxng":
+        include.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
+        export.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
+        output.write("#ifdef LIBXML_SCHEMAS_ENABLED\n");
 
     include.write("PyObject * ")
     include.write("libxml_%s(PyObject *self, PyObject *args);\n" % (name));
@@ -483,6 +488,11 @@
         include.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
         export.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
         output.write("#endif /* LIBXML_REGEXP_ENABLED */\n");
+    elif file == "xmlschemas" or file == "xmlschemastypes" or \
+         file == "relaxng":
+        include.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
+        export.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
+        output.write("#endif /* LIBXML_SCHEMAS_ENABLED */\n");
     return 1
 
 def buildStubs():
diff --git a/python/libxml2class.txt b/python/libxml2class.txt
index 1887d65..72607a4 100644
--- a/python/libxml2class.txt
+++ b/python/libxml2class.txt
@@ -126,6 +126,9 @@
 newNode()
 setEntityLoader()
 
+# functions from module relaxng
+relaxNGCleanupTypes()
+
 # functions from module tree
 compressMode()
 isXHTML()
@@ -366,6 +369,7 @@
     newNsPropEatName()
     newProp()
     newTextChild()
+    noNsProp()
     nodePath()
     nsProp()
     prop()
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index 56950e9..d1c5dc9 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -18,6 +18,7 @@
 #include <libxml/xmlregexp.h>
 #include <libxml/xmlautomata.h>
 #include <libxml/xmlreader.h>
+#include <libxml/relaxng.h>
 
 /**
  * ATTRIBUTE_UNUSED: