else if (bufferPtr == bufferEnd) {
const char *end;
int nLeftOver;
+ enum XML_Error result;
parseEndByteIndex += len;
positionPtr = s;
finalBuffer = (XML_Bool)isFinal;
- enum XML_Error result;
errorCode = processor(parser, s, parseEndPtr = s + len, &end);
case XML_SUSPENDED:
result = XML_STATUS_SUSPENDED;
break;
- case XML_INITIALIZED, XML_PARSING:
+ case XML_INITIALIZED:
+ case XML_PARSING:
result = XML_STATUS_OK;
if (isFinal) {
parsing = XML_FINISHED;
return XML_STATUS_ERROR;
default:
if (resumable) {
+#ifdef XML_DTD
if (isParamEntity) {
errorCode = XML_ERROR_SUSPEND_PE;
return XML_STATUS_ERROR;
}
+#endif
parsing = XML_SUSPENDED;
}
else