From 22af701fa95107350f2a8e9c60d7aa59228a567d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Feb 2015 15:44:54 +0200 Subject: Fix bug in character accumulation logic --- xml/parser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.1