From 7f6611cded8c1591f1aa1a4c7d70505cb21e7967 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 9 Aug 2014 18:42:47 +0200 Subject: Changed FunctionExternalTextFormatter to execute formatter inside shell * otherwise one has to pass the full path to the command ** additionally it is much easier to enable passing arguments to the external formatter this way * modified external function parameter accordingly * updated external text formatter test case --- src/function/external_text_formatter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/function/external_text_formatter.h') diff --git a/src/function/external_text_formatter.h b/src/function/external_text_formatter.h index 27f2fc7..4788784 100644 --- a/src/function/external_text_formatter.h +++ b/src/function/external_text_formatter.h @@ -9,7 +9,7 @@ namespace InputXSLT { class FunctionExternalTextFormatter : public FunctionBase< FunctionExternalTextFormatter, - boost::filesystem::path, + std::string, std::string > { public: @@ -19,7 +19,7 @@ class FunctionExternalTextFormatter : public FunctionBase< friend FunctionBase; DomDocumentCache::document_ptr constructDocument( - boost::filesystem::path, + std::string, std::string ) const; -- cgit v1.2.3