diff options
-rw-r--r-- | lib/xmlparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xmlparse.c b/lib/xmlparse.c index 74ace1b..10236fa 100644 --- a/lib/xmlparse.c +++ b/lib/xmlparse.c @@ -2555,6 +2555,8 @@ doContent(XML_Parser parser, (int)(dataPtr - (ICHAR *)dataBuf)); if (s == next) break; + if (ps_parsing == XML_FINISHED) + break; *eventPP = s; } } |