From 7b872121000d4db4026d0c90fcb95a10f1e43694 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 25 Jun 2014 20:23:35 +0200 Subject: Added support for resolving non-existing paths * previous logic for resolving boost::filesystem::path parameters in the XObjectValue class actively tried to resolve existing files ** this contradicts the planned introduction of e.g. a external "write-file" function * callers of external functions with path arguments now have to enclose them in square brackets if include path resolution is required ** analog to the usage of the "xsl:import" tag * moved "getPathFromSystemId" from compilation local method into static method of IncludeEntityResolver * changed test cases accordingly --- src/function/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/function') diff --git a/src/function/base.h b/src/function/base.h index 5aada0e..7c2043e 100644 --- a/src/function/base.h +++ b/src/function/base.h @@ -97,7 +97,7 @@ class FunctionBase : public xalan::Function { Sequence ) const { XObjectValue valueGetter( - this->include_resolver_->resolve( + IncludeEntityResolver::getPathFromSystemId( locator->getSystemId() ), this->include_resolver_ -- cgit v1.2.3