diff --git a/src/apply/ref.xsl b/src/apply/ref.xsl index bb94d73..c1a7be4 100644 --- a/src/apply/ref.xsl +++ b/src/apply/ref.xsl @@ -174,6 +174,10 @@ increasing the argument count of @var{fnref} will @emph{decrease} the arity of the resulting reference and vice versa. + @emph{No validations are performed on arity}—if there exist more + arguments than the number of target function parameters, no error + will be raised. + @var{fnref} must be a valid dynamic function reference. --> @@ -202,4 +206,32 @@ + + + + + + + + + + + + + + + + + + diff --git a/test/apply/ref.xspec b/test/apply/ref.xspec index c3e67b1..86d0b2a 100644 --- a/test/apply/ref.xspec +++ b/test/apply/ref.xspec @@ -43,6 +43,7 @@ + @@ -396,4 +397,154 @@ test="count( $x:result ) = 2" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +