From 516ff636f760458c33676458fc88892faab9d376 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Mon, 9 Jun 2014 14:24:26 +0200 Subject: Added include path resolution to FilesystemContext constructor * extracted system id handling into separate "resolve" method overload of "IncludeEntityResolver" class * paths to be resolved against the include path vector are enclosed by square brackets ** FilesystemContext for external functions was instantiated using the unmodified systemId provided by xalan::Locator ** this commit adds include path resolution to that step *** exceptions were thrown as the program tried to instantiate a FilesystemContext instance without resolving the square bracket syntax * changed FunctionTransform "target" attribute content to the target path filename instead of the full path --- src/support/filesystem_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/support/filesystem_context.h') diff --git a/src/support/filesystem_context.h b/src/support/filesystem_context.h index 1f574de..9741039 100644 --- a/src/support/filesystem_context.h +++ b/src/support/filesystem_context.h @@ -15,7 +15,7 @@ namespace InputXSLT { class FilesystemContext { public: - explicit FilesystemContext(const xalan::Locator*); + explicit FilesystemContext(const boost::filesystem::path&); explicit FilesystemContext(const std::string&); boost::filesystem::path resolve(const std::string&) const; -- cgit v1.2.3