some warning removal on Igor's patch seems I messed up with #106788 fix

* uri.c parser.c: some warning removal on Igor's patch
* tree.c: seems I messed up with #106788 fix
* python/libxml.c: fixed some base problems when Python provides
  the resolver.
* relaxng.c: fixed the interleave algorithm
  found 373 test schemas: 364 success 9 failures
  found 529 test instances: 525 success 4 failures
  the resulting failures are bug in the algorithm from 7.3 and
  lack of support for params
Daniel
diff --git a/tree.c b/tree.c
index eec0b5d..7fc306c 100644
--- a/tree.c
+++ b/tree.c
@@ -6457,13 +6457,13 @@
                     } else if (*cur == '\r') {
                         if (base != cur)
                             xmlBufferAdd(buf, base, cur - base);
-                        xmlBufferAdd(buf, BAD_CAST "
", 6);
+                        xmlBufferAdd(buf, BAD_CAST "
", 5);
                         cur++;
                         base = cur;
                     } else if (*cur == '\t') {
                         if (base != cur)
                             xmlBufferAdd(buf, base, cur - base);
-                        xmlBufferAdd(buf, BAD_CAST "	", 5);
+                        xmlBufferAdd(buf, BAD_CAST "	", 4);
                         cur++;
                         base = cur;
 #if 0