From 052a8f2fe0c7e5a9f3ca24741fd57b93bdd7b2c8 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 10 Jul 2010 16:53:59 +0000 Subject: XPath: Capitalized all error messages git-svn-id: http://pugixml.googlecode.com/svn/trunk@582 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixpath.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pugixpath.cpp') diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 80368ff..a198969 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -2815,7 +2815,7 @@ namespace pugi { case lex_var_ref: { - throw xpath_exception("variables are not supported"); + throw xpath_exception("Variables are not supported"); #ifdef __DMC__ return 0; // Digital Mars C++ @@ -2829,7 +2829,7 @@ namespace pugi xpath_ast_node* n = parse_expression(); if (m_lexer.current() != lex_close_brace) - throw xpath_exception("unmatched braces"); + throw xpath_exception("Unmatched braces"); m_lexer.next(); @@ -2874,7 +2874,7 @@ namespace pugi while (m_lexer.current() != lex_close_brace) { if (m_lexer.current() != lex_comma) - throw xpath_exception("no comma between function arguments"); + throw xpath_exception("No comma between function arguments"); m_lexer.next(); xpath_ast_node* n = parse_expression(); @@ -2892,7 +2892,7 @@ namespace pugi } default: - throw xpath_exception("unrecognizable primary expression"); + throw xpath_exception("Unrecognizable primary expression"); #ifdef __DMC__ return 0; // Digital Mars C++ #endif @@ -3065,7 +3065,7 @@ namespace pugi xpath_ast_node* pred = new (m_alloc.node()) xpath_ast_node(ast_predicate, xpath_type_node_set, expr); if (m_lexer.current() != lex_close_square_brace) - throw xpath_exception("unmatched square brace"); + throw xpath_exception("Unmatched square brace"); m_lexer.next(); if (last) last->set_next(pred); -- cgit v1.2.3