diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 2f4e07c52..04ae54618 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -18974,7 +18974,7 @@ declare function fn:transitive-closure ( $node as node(), $step as (function(node()) as node()*) ) as node()* { - tc-inclusive($node/$step(.)), $step) + tc-inclusive($node/$step(.), $step) };]]>

Explanation: The private helper function tc-inclusive takes a set of nodes as input,