summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-02-24 11:47:13 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-02-24 11:47:13 +0000
commitc64b8e984c13a0d989dea436c13128b289a4d4d6 (patch)
tree49b5cf3eabca81e9c66d500be8bc66c8422ba2d1 /tree.c
parent0046c0fec2aa505a963d44de9621b6c92ccdc9e9 (diff)
downloadlibxml2-c64b8e984c13a0d989dea436c13128b289a4d4d6.tar.gz
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
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index eec0b5df..7fc306c2 100644
--- a/tree.c
+++ b/tree.c
@@ -6457,13 +6457,13 @@ xmlAttrSerializeContent(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr attr)
} else if (*cur == '\r') {
if (base != cur)
xmlBufferAdd(buf, base, cur - base);
- xmlBufferAdd(buf, BAD_CAST "&#13;", 6);
+ xmlBufferAdd(buf, BAD_CAST "&#13;", 5);
cur++;
base = cur;
} else if (*cur == '\t') {
if (base != cur)
xmlBufferAdd(buf, base, cur - base);
- xmlBufferAdd(buf, BAD_CAST "&#9;", 5);
+ xmlBufferAdd(buf, BAD_CAST "&#9;", 4);
cur++;
base = cur;
#if 0