From f13e1fa9a41006d80e6923489414cfdc2fcadd08 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 8 Jun 2014 16:49:41 +0200 Subject: Handling xercesc::DOMException in "read-xml-file" and "external-text-formatter" * external DOM may cause xercesc::DOMException's to be thrown instead of passing all errors to the custom error handlers ** these exceptions are handled by this commit by setting the "result" attribute to "error" and adding "error" value nodes with further information --- src/function/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/function/base.h') diff --git a/src/function/base.h b/src/function/base.h index 56712bb..3ca1d61 100644 --- a/src/function/base.h +++ b/src/function/base.h @@ -82,7 +82,7 @@ class FunctionBase : public xalan::Function { const xalan::XalanDOMString& getError( xalan::XalanDOMString& result) const { result.assign(std::string( - "The function expects " + + "The function expects " + std::to_string(parameter_count) + " parameter(s)" ).data()); -- cgit v1.2.3