From ff873b01468af7910d7695c033784ed40ac01d49 Mon Sep 17 00:00:00 2001 From: fdrake Date: Sat, 1 Jul 2006 15:30:37 +0000 Subject: SF bug #1515266: as noted, suspending the parser has the same problem that the abort code has; added a check and regression test or that --- lib/xmlparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/xmlparse.c b/lib/xmlparse.c index 10236fa..5df6464 100644 --- a/lib/xmlparse.c +++ b/lib/xmlparse.c @@ -2555,7 +2555,7 @@ doContent(XML_Parser parser, (int)(dataPtr - (ICHAR *)dataBuf)); if (s == next) break; - if (ps_parsing == XML_FINISHED) + if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED) break; *eventPP = s; } -- cgit v1.2.1