diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 75ee47c9d..9cbbadfc2 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -29947,7 +29947,7 @@ path with an explicit file: scheme.

- + @@ -29960,33 +29960,34 @@ path with an explicit file: scheme.

the accumulator is assigned to during the evaluation of fn:fold-left.

-

The function is equivalent to the following implementation in XPath(return clause added for completeness):

+

The function is equivalent to the following implementation in XPath (return clause added in comments for completeness):

@@ -30026,7 +30027,7 @@ $scan-left := function($seq as item()*, without losing completely the intermediate results.

let $double := fn($x){2 * $x} - return $scan-left(1 to 5, (), fn($seq, $it){$seq , $double($it)}) + return scan-left(1 to 5, (), fn($seq, $it){$seq , $double($it)}) [()], [2], [(2,4)], [(2,4,6)], [(2,4,6,8)], [(2,4,6,8,10)] @@ -30061,31 +30062,32 @@ $scan-left := function($seq as item()*, the accumulator is assigned to during the evaluation of fn:fold-right.

-

The function is equivalent to the following implementation in XPath(return clause added for completeness):

+

The function is equivalent to the following implementation in XPath (return clause in comments added for completeness):