applied a patch from Stéphane Bidoul to allow per XMLtextReader error and

* xmlreader.c include/libxml/xmlreader.h python/generator.py
  python/libxml.c python/libxml.py win32/libxml2.def.src: applied
  a patch from Stéphane Bidoul to allow per XMLtextReader error
  and warning handling
* python/tests/Makefile.am python/tests/readererr.py: adding the
  specific regression test
Daniel
diff --git a/python/generator.py b/python/generator.py
index f8a1e0b..cc1b41b 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -292,6 +292,8 @@
         return 1
     if name == "xmlFreeParserCtxt":
         return 1
+    if name == "xmlFreeTextReader":
+        return 1
 #    if name[0:11] == "xmlXPathNew":
 #        return 1
     return 0
@@ -621,6 +623,7 @@
     "outputBuffer": "ioWriteWrapper",
     "inputBuffer": "ioReadWrapper",
     "parserCtxt": "parserCtxtCore",
+    "xmlTextReader": "xmlTextReaderCore",
 }
 classes_destructors = {
     "parserCtxt": "xmlFreeParserCtxt",