aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_directory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/read_directory.cc')
-rw-r--r--src/function/read_directory.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/function/read_directory.cc b/src/function/read_directory.cc
index f8f99d6..09f8221 100644
--- a/src/function/read_directory.cc
+++ b/src/function/read_directory.cc
@@ -19,15 +19,7 @@ xalan::XObjectPtr FunctionReadDirectory::execute(
const xalan::XObjectPtr argument,
const xalan::Locator* locator
) const {
- const FilesystemContext fs_context(
- boost::filesystem::path(
- *XercesStringGuard<char>(
- xercesc::XMLString::transcode(
- locator->getSystemId() + 7
- )
- )
- ).parent_path().string()
- );
+ const FilesystemContext fs_context(locator);
const boost::filesystem::path directoryPath(
fs_context.resolve(argument->str())