mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 06:04:59 +00:00
Deal with XML_TOK_PARTIAL_CHAR from XmlCdataSectionTok
This commit is contained in:
parent
d40b82ff26
commit
44681484a8
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue