Added wrapper for the xmlURIPtr type, provided accessors, fixed the

* python/generator.py python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/types.c:
  Added wrapper for the xmlURIPtr type, provided accessors, fixed
  the accessor generator for strings
* python/tests/Makefile.am python/tests/tstURI.py: added a specific
  regression test.
Daniel
diff --git a/python/types.c b/python/types.c
index 7718d5f..d9fbd94 100644
--- a/python/types.c
+++ b/python/types.c
@@ -171,6 +171,21 @@
 }
 
 PyObject *
+libxml_xmlURIPtrWrap(xmlURIPtr uri) {
+    PyObject *ret;
+
+#ifdef DEBUG
+    printf("libxml_xmlURIPtrWrap: uri = %p\n", uri);
+#endif
+    if (uri == NULL) {
+	Py_INCREF(Py_None);
+	return(Py_None);
+    }
+    ret = PyCObject_FromVoidPtrAndDesc((void *) uri, "xmlURIPtr", NULL);
+    return(ret);
+}
+
+PyObject *
 libxml_xmlNsPtrWrap(xmlNsPtr ns) {
     PyObject *ret;