From 29a9fb20b4c8414f2590886e43ae86794a53db89 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 20 Apr 2014 13:09:32 +0200 Subject: Implemented support for modifying external function base path * one expects a read-file function to work relative to the directory the transformation is located and not to the executable's location ** from the perspective of the user the transformation is the application, not the actual executable * removed PlattformGuard struct from TransformerGuard (now TransformerFacade) * TransformerFacade is instatiated with the appropriate relative working path ** i.e. it will have to be instantiated for every directory containing one or more transformations --- src/transformer_guard.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/transformer_guard.h (limited to 'src/transformer_guard.h') diff --git a/src/transformer_guard.h b/src/transformer_guard.h deleted file mode 100644 index 381fb94..0000000 --- a/src/transformer_guard.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef INPUTXSLT_SRC_TRANSFORMER_GUARD_H_ -#define INPUTXSLT_SRC_TRANSFORMER_GUARD_H_ - -#include - -#include -#include - -#include "plattform_guard.h" - -namespace InputXSLT { - -class TransformerGuard { - public: - TransformerGuard(); - - int execute(const std::string&, const std::string&); - - private: - const PlattformGuard plattform_; - mutable xalan::XercesParserLiaison parser_; - - xalan::XalanTransformer transformer_; - -}; - -} - -#endif // INPUTXSLT_SRC_TRANSFORMER_GUARD_H_ -- cgit v1.2.3