popped quotes around the wrong thing

This commit is contained in:
Jez Higgins 2010-01-02 22:20:13 +00:00
parent acff44245d
commit 29d425528d
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ public:
const UriMapper& mapper)
{
if(!Arabica::XML::is_qname<string_adaptor>(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(":");

View file

@ -40,7 +40,7 @@ struct QName
static QName create(const std::string& qName, const std::string& namespaceURI)
{
if(!Arabica::XML::is_qname<Arabica::default_string_adaptor<std::string> >(qName))
throw SAX::SAXException("Bad name : " + qName);
throw SAX::SAXException("Bad name : '" + qName + "'");
static char COLON = Arabica::text::Unicode<char>::COLON;