commit | f6e294bd2cafed760ba61da113d80153c0fbab2d | [log] [tgz] |
---|---|---|
author | Karl Waclawek <kwaclaw@users.sourceforge.net> | Tue Feb 21 02:59:51 2012 +0000 |
committer | Karl Waclawek <kwaclaw@users.sourceforge.net> | Tue Feb 21 02:59:51 2012 +0000 |
tree | 9470d6b497011577442ebf146aeebd2993693dcf | |
parent | 1ce475e909f68fc6f0c111d7c1aca034179b7dfb [diff] |
Applied path #3010222 as fix for issue #3010819.
diff --git a/expat/lib/xmltok_impl.c b/expat/lib/xmltok_impl.c index 16dfb85..9c2895b 100644 --- a/expat/lib/xmltok_impl.c +++ b/expat/lib/xmltok_impl.c
@@ -885,7 +885,7 @@ const char **nextTokPtr) { if (ptr == end) - return -XML_TOK_PERCENT; + return XML_TOK_PARTIAL; switch (BYTE_TYPE(enc, ptr)) { CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr) case BT_S: case BT_LF: case BT_CR: case BT_PERCNT: