From 947a8389728ff7d052fa820f598da3c17802f3d1 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 27 Apr 2014 17:24:30 +0200 Subject: Added status information to external read-xml-file function * XML tree is contained below the _content_ node if read was successful ** status is set to error otherwise * updated test transformation accordingly --- src/function/read_file.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/function/read_file.cc') diff --git a/src/function/read_file.cc b/src/function/read_file.cc index 6f02702..cfbec59 100644 --- a/src/function/read_file.cc +++ b/src/function/read_file.cc @@ -4,14 +4,12 @@ #include #include #include -#include #include "boost/filesystem/fstream.hpp" #include #include "support/xerces_string_guard.h" -#include "support/utility.h" namespace InputXSLT { @@ -30,7 +28,7 @@ xalan::XObjectPtr FunctionReadFile::execute( ); DomDocumentCache::item* const cachedDocument( - this->document_cache_->get(xalanToString(argument->str())) + this->document_cache_->get(filePath.string()) ); if ( !cachedDocument->isFinalized() ) { -- cgit v1.2.3