From 2eb423c19767de615e76d0d39762e65f49a34b1e Mon Sep 17 00:00:00 2001 From: Michael Kay Date: Wed, 27 Sep 2023 18:37:18 +0100 Subject: [PATCH] 725 Add clarification note --- specifications/xpath-functions-40/src/function-catalog.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 23adbecf2..2fc1a0792 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -24939,6 +24939,11 @@ return array:sort($in, $SWEDISH)

Even where support for this function is mandatory, it is recommended for security reasons that implementations should provide a user option to disable its use, or to disable aspects of its functionality.

+

The load-xquery-module function does not modify the static or dynamic context. + Functions and variables from the loaded module become available within the result returned by the function, but they + are not added to the static or dynamic context of the caller. This means, for example, that function-lookup + will not locate functions from the loaded module.

+