Deal with XML_TOK_PARTIAL_CHAR from XmlCdataSectionTok

This commit is contained in:
James Clark 1998-05-02 06:15:55 +00:00
parent d40b82ff26
commit 44681484a8

View File

@ -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) {