commit | e043ee17c26c41c6d50c38d07d69dd1900d8ad01 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Mon Apr 16 14:08:07 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Mon Apr 16 14:08:07 2001 +0000 |
tree | 30a61ce42f6259f6d0fc53564fed872212c4da43 | |
parent | a3bfca59bf9a5b46dee8081d4c8a48740d6388f6 [diff] [blame] |
- xpath.c: fixed xmlXPathNodeCollectAndTest() to do proper prefix lookup. - parserInternals.c: fixed the bug reported by Morus Walter due to an off by one typo in xmlStringCurrentChar() Daniel
diff --git a/parserInternals.c b/parserInternals.c index a89c451..37cb19e 100644 --- a/parserInternals.c +++ b/parserInternals.c
@@ -1435,7 +1435,7 @@ /* 2-byte code */ *len = 2; val = (cur[0] & 0x1f) << 6; - val |= cur[2] & 0x3f; + val |= cur[1] & 0x3f; } if (!IS_CHAR(val)) { if ((ctxt->sax != NULL) &&