diff options
Implemented primitive optional parameter support for external functions
* renamed FunctionExternalTextFormatter into FunctionExternalCommand
** the goal is to provide a general interface to a variety of external commands
*** e.g. not just text formatters but system utilities for file management and so on
** this requires the stdin parameter to be optional as not all external commands require stdin input
* implemented "filter_derived" helper template to determine amount of optional parameters
** optional parameters are defined as "boost::optional" specializations
*** they in turn can be detected by checking if "boost::optional_detail::optional_tag" is a base class
* "callConstructDocument" member method of "FunctionBase" performs additional bounds checking of parameter vector
* "boost::optional<std::string>" specific member overload was added to "XObjectValue" helper class
** we will have to provide full specializations for all optional types as C++ prohibits partial member function template specialization
* renamed the external function in "PlattformGuard"
* changed README.md and test cases accordingly
Diffstat (limited to 'test/external_text_formatter/transformation.xsl')
-rw-r--r-- | test/external_text_formatter/transformation.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/external_text_formatter/transformation.xsl b/test/external_text_formatter/transformation.xsl index aa9a300..c6f11fc 100644 --- a/test/external_text_formatter/transformation.xsl +++ b/test/external_text_formatter/transformation.xsl @@ -16,7 +16,7 @@ <xsl:variable name="content" select="InputXSLT:read-file($file)/text()"/> - <xsl:copy-of select="InputXSLT:external-text-formatter( + <xsl:copy-of select="InputXSLT:external-command( $format, $content )"/> |