From 44681484a87537b7854be225d7e877794fcc9693 Mon Sep 17 00:00:00 2001 From: James Clark Date: Sat, 2 May 1998 06:15:55 +0000 Subject: [PATCH] Deal with XML_TOK_PARTIAL_CHAR from XmlCdataSectionTok --- expat/xmlparse/xmlparse.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index 74b0b688..efb3ab02 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -938,6 +938,13 @@ enum XML_Error doCdataSection(XML_Parser parser, case XML_TOK_INVALID: errorPtr = next; return XML_ERROR_INVALID_TOKEN; + case XML_TOK_PARTIAL_CHAR: + if (nextPtr) { + *nextPtr = s; + return XML_ERROR_NONE; + } + errorPtr = s; + return XML_ERROR_PARTIAL_CHAR; case XML_TOK_PARTIAL: case XML_TOK_NONE: if (nextPtr) {