- 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) &&