remove the warning for startDocument(), as it is used by glade (or

* legacy.c: remove the warning for startDocument(), as it is used by
  glade (or glade-python)
* parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of
  invalid accesses found by running some Python based regression
  tests under valgrind. There is still a few leaks reported by the
  relaxng regressions which need some attention.
* doc/Makefile.am: fixed a make install problem c.f. #124539
* include/libxml/parserInternals.h: addition of xmlParserMaxDepth
  patch from crutcher
Daniel
diff --git a/legacy.c b/legacy.c
index 6f86b95..5b635ff 100644
--- a/legacy.c
+++ b/legacy.c
@@ -1084,7 +1084,8 @@
 void
 startDocument(void *ctx)
 {
-    DEPRECATED("startDocument")
+   /* don't be too painful for glade users */
+   /*  DEPRECATED("startDocument") */
         xmlSAX2StartDocument(ctx);
 }