another percent in entity values.
+ - Fixed a bug where parameter entities weren't being expanded inside
+ entity literals.
- Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
finding this oversight.
- Changed default patterns in lib/Makefile.in to fit non-GNU makes
EXPAT_MAJOR_VERSION=1
EXPAT_MINOR_VERSION=95
-EXPAT_EDIT=0
+EXPAT_EDIT=1
EXPAT_VERSION=$EXPAT_MAJOR_VERSION.$EXPAT_MINOR_VERSION.$EXPAT_EDIT
VERSION=$EXPAT_VERSION
dnl
LIBCURRENT=0
-LIBREVISION=0
+LIBREVISION=1
LIBAGE=0
AC_CONFIG_HEADER(config.h:config.hin)
*/
static char RCSId[]
- = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.7 2000/10/09 06:26:10 jclark Exp $";
+ = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.8 2000/10/10 18:48:48 coopercc Exp $";
#include <config.h>
return XML_ERROR_NO_MEMORY;
*(pool->ptr)++ = 0xA;
break;
- case XML_TOK_PERCENT:
- if (pool->end == pool->ptr && !poolGrow(pool))
- return XML_ERROR_NO_MEMORY;
- *(pool->ptr)++ = '%';
- break;
case XML_TOK_CHAR_REF:
{
XML_Char buf[XML_ENCODE_MAX];
*nextTokPtr = ptr;
return XML_TOK_DATA_CHARS;
case BT_PERCNT:
- if (ptr == start)
- return PREFIX(scanPercent)(enc, ptr + MINBPC(enc), end, nextTokPtr);
+ if (ptr == start) {
+ int tok = PREFIX(scanPercent)(enc, ptr + MINBPC(enc),
+ end, nextTokPtr);
+ return (tok == XML_TOK_PERCENT) ? XML_TOK_INVALID : tok;
+ }
*nextTokPtr = ptr;
return XML_TOK_DATA_CHARS;
case BT_LF: