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/relaxng.c b/relaxng.c
index 0330bec..f3ce7f5 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -6696,11 +6696,11 @@
/* don't try to normalize the inner spaces */
while (IS_BLANK(*cur))
cur++;
- *start++ = *cur++;
if (*cur == 0) {
*start = 0;
return;
}
+ *start++ = *cur++;
} while (1);
}
}