aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-05-14 09:47:05 -0700
committerBoris Kolpackov <boris@codesynthesis.com>2014-05-14 09:47:05 -0700
commitb5cce10334497ea26569f8e63088ee68cf95ccbf (patch)
tree7c945bddc5aecc1301ace7976d9eabd599c873a4
parent91f14d7e1fa90e1cdf4392c95244b30b75ab467b (diff)
Improve error message
-rw-r--r--xml/parser.cxx4
1 files 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);
}