diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 60857e42e..dcf2ed175 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -29489,7 +29489,7 @@ path with an explicit file: scheme.

- + @@ -29502,33 +29502,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):

@@ -29568,7 +29569,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)] @@ -29603,31 +29604,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):