summaryrefslogtreecommitdiff
path: root/relaxng.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-10-17 12:43:59 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-10-17 12:43:59 +0000
commit4aede2e66b88ad782b506341c6ea40554456a8b4 (patch)
tree7b9299eb8475ae32cc4ea6aa6bb78106073b4f28 /relaxng.c
parent520f58544a9605fe9adbae7996138a3770337ede (diff)
downloadlibxml2-4aede2e66b88ad782b506341c6ea40554456a8b4.tar.gz
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
Diffstat (limited to 'relaxng.c')
-rw-r--r--relaxng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/relaxng.c b/relaxng.c
index 0330bec0..f3ce7f59 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -6696,11 +6696,11 @@ xmlRelaxNGNormExtSpace(xmlChar * value)
/* 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);
}
}