From 4d0569669e01434b3bb9f689cd176f590344bea8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Thu, 22 May 2014 19:58:15 +0200 Subject: Added include path resolution to external file access functions * if a given file can not be located relative to the transformation's location both "read-file" and "read-xml-file" will now try to resolve the path using the IncludeEntityResolver * all external functions based on the FunctionBase template are now provided with a pointer to a IncludeEntityResolver instance * it is determined by the external function implementation whether include path resolution will be used --- src/function/transform.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/function/transform.h') diff --git a/src/function/transform.h b/src/function/transform.h index 94fae53..810738e 100644 --- a/src/function/transform.h +++ b/src/function/transform.h @@ -3,8 +3,6 @@ #include "base.h" -#include "support/include_entity_resolver.h" - namespace InputXSLT { class FunctionTransform : public FunctionBase< @@ -14,7 +12,7 @@ class FunctionTransform : public FunctionBase< xalan::XObjectPtr > { public: - FunctionTransform(IncludeEntityResolver*); + using FunctionBase::FunctionBase; protected: friend FunctionBase; @@ -24,9 +22,6 @@ class FunctionTransform : public FunctionBase< const FunctionBase::parameter_tuple& ); - private: - IncludeEntityResolver* const include_resolver_; - }; } -- cgit v1.2.3