From b5cce10334497ea26569f8e63088ee68cf95ccbf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 May 2014 09:47:05 -0700 Subject: Improve error message --- xml/parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/parser.cxx b/xml/parser.cxx index db1a9d0..37f9f76 100644 --- a/xml/parser.cxx +++ b/xml/parser.cxx @@ -151,11 +151,11 @@ namespace xml switch (content ()) { case content_type::empty: - throw parsing (*this, "character in empty content"); + throw parsing (*this, "characters in empty content"); case content_type::simple: throw parsing (*this, "element in simple content"); case content_type::complex: - throw parsing (*this, "character in complex content"); + throw parsing (*this, "characters in complex content"); default: assert (false); } -- cgit v1.1