From 29d425528de1761c44375015b9be7ea5d92d048c Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Sat, 2 Jan 2010 22:20:13 +0000 Subject: [PATCH] popped quotes around the wrong thing --- include/XML/QName.hpp | 2 +- include/XSLT/impl/xslt_qname.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/XML/QName.hpp b/include/XML/QName.hpp index 4c1e76cb..7a57143f 100644 --- a/include/XML/QName.hpp +++ b/include/XML/QName.hpp @@ -38,7 +38,7 @@ public: const UriMapper& mapper) { if(!Arabica::XML::is_qname(rawname)) - throw std::runtime_error("Bad qname : " + SA::asStdString(rawname)); + throw std::runtime_error("Bad qname : '" + SA::asStdString(rawname) +"'"); static string_type COLON = SA::construct_from_utf8(":"); diff --git a/include/XSLT/impl/xslt_qname.hpp b/include/XSLT/impl/xslt_qname.hpp index 63f07817..fa6322e9 100644 --- a/include/XSLT/impl/xslt_qname.hpp +++ b/include/XSLT/impl/xslt_qname.hpp @@ -40,7 +40,7 @@ struct QName static QName create(const std::string& qName, const std::string& namespaceURI) { if(!Arabica::XML::is_qname >(qName)) - throw SAX::SAXException("Bad name : " + qName); + throw SAX::SAXException("Bad name : '" + qName + "'"); static char COLON = Arabica::text::Unicode::COLON;