aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml/parser.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xml/parser.cxx b/xml/parser.cxx
index 5e117b9..8cec4a1 100644
--- a/xml/parser.cxx
+++ b/xml/parser.cxx
@@ -642,7 +642,9 @@ namespace xml
// Get and parse the next chunk of data until we get the next event
// or reach eof.
//
- event_ = eof;
+ if (!accumulate_)
+ event_ = eof;
+
XML_Status s;
do
{