From 3c166ed07051b78bfcd40c7cabc376060cd96eb9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 11 Oct 2014 23:18:05 +0200 Subject: Changed FunctionBase FilesystemContext base to working directory * this changes filesystem context resolution for external function execution to be relative to the working directory ** this was changed to enable module support in BuildXSLT *** ... which is in turn required as a foundation for extracting the detail transformations into a separate "StaticXSLT" application * added parameter-less FilesystemContext constructor which defaults to the working directory --- src/function/base.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/function') diff --git a/src/function/base.h b/src/function/base.h index d53ae8a..34f0a77 100644 --- a/src/function/base.h +++ b/src/function/base.h @@ -120,12 +120,7 @@ class FunctionBase : public xalan::Function { const xalan::Locator* locator, Sequence ) const { - const FilesystemContext context( - IncludeEntityResolver::getPathFromSystemId( - locator->getSystemId() - ) - ); - + const FilesystemContext context; XObjectValue valueGetter(&context, this->include_resolver_); return this->document_cache_->create( -- cgit v1.2.3