# | Line 885 | Line 885 | PREFIX(scanPercent)(const ENCODING *enc, const char *p | |
---|---|---|
885 | const char **nextTokPtr) | |
886 | { | |
887 | if (ptr == end) | |
888 | < | return -XML_TOK_PERCENT; |
888 | > | return XML_TOK_PARTIAL; |
889 | switch (BYTE_TYPE(enc, ptr)) { | |
890 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr) | |
891 | case BT_S: case BT_LF: case BT_CR: case BT_PERCNT: | |
# | Line 1744 | Line 1744 | PREFIX(updatePosition)(const ENCODING *enc, | |
1744 | const char *end, | |
1745 | POSITION *pos) | |
1746 | { | |
1747 | < | while (ptr != end) { |
1747 | > | while (ptr < end) { |
1748 | switch (BYTE_TYPE(enc, ptr)) { | |
1749 | #define LEAD_CASE(n) \ | |
1750 | case BT_LEAD ## n: \ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |