diff options
author | Adrian Kummerländer | 2014-05-14 16:41:58 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-14 16:41:58 +0200 |
commit | 943768ad437011756395b86958399992e6822604 (patch) | |
tree | fca4a7f9672b9a7bc8b6691d841c24322a76083b /src/function/read_xml_file.cc | |
parent | b3bf487144a1a2978cc17d40b6d6ba1c0467fc37 (diff) | |
download | InputXSLT-943768ad437011756395b86958399992e6822604.tar InputXSLT-943768ad437011756395b86958399992e6822604.tar.gz InputXSLT-943768ad437011756395b86958399992e6822604.tar.bz2 InputXSLT-943768ad437011756395b86958399992e6822604.tar.lz InputXSLT-943768ad437011756395b86958399992e6822604.tar.xz InputXSLT-943768ad437011756395b86958399992e6822604.tar.zst InputXSLT-943768ad437011756395b86958399992e6822604.zip |
Added ArgumentCount parameter to FunctionBase template
* constructDocument member method is provided with a FunctionBase::argument_array instance
* improved argument validation in FunctionBase
* this parameter was added to support FunctionBase as a base class for FunctionTransform
Diffstat (limited to 'src/function/read_xml_file.cc')
-rw-r--r-- | src/function/read_xml_file.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/function/read_xml_file.cc b/src/function/read_xml_file.cc index 71ba819..b3bf3de 100644 --- a/src/function/read_xml_file.cc +++ b/src/function/read_xml_file.cc @@ -34,8 +34,10 @@ namespace InputXSLT { xercesc::DOMDocument* FunctionReadXmlFile::constructDocument( const FilesystemContext&, - const boost::filesystem::path& filePath + const FunctionBase::argument_array& arguments ) { + const boost::filesystem::path& filePath = arguments[0]; + xercesc::DOMDocument* const domDocument( xercesc::DOMImplementation::getImplementation()->createDocument( nullptr, |