diff --git a/specifications/xquery-40/src/expressions.xml b/specifications/xquery-40/src/expressions.xml index 32d55b524..4946dce40 100644 --- a/specifications/xquery-40/src/expressions.xml +++ b/specifications/xquery-40/src/expressions.xml @@ -257,19 +257,16 @@ in-scope-prefixes($e) ! namespace {.}{ namespace-uri-for-prefix(., $e)} xml: http://www.w3.org/XML/1998/namespace

-

xs: http://www.w3.org/2001/XMLSchema

-

xsi: http://www.w3.org/2001/XMLSchema-instance

-

fn: http://www.w3.org/2005/xpath-functions @@ -290,17 +287,23 @@ in-scope-prefixes($e) ! namespace {.}{ namespace-uri-for-prefix(., $e)} math: http://www.w3.org/2005/xpath-functions/math

+ +

+ err: http://www.w3.org/2005/xqt-errors + (see ).

+

- local: http://www.w3.org/2005/xquery-local-functions (see .)

+ local: http://www.w3.org/2005/xquery-local-functions + (see .) +

- +

- err: http://www.w3.org/2005/xqt-errors (see ).

+ output: http://www.w3.org/2010/xslt-xquery-serialization +

- +

xq: http://www.w3.org/2012/xquery

diff --git a/specifications/xquery-40/src/query-prolog.xml b/specifications/xquery-40/src/query-prolog.xml index f780eda5c..e005a942b 100644 --- a/specifications/xquery-40/src/query-prolog.xml +++ b/specifications/xquery-40/src/query-prolog.xml @@ -913,67 +913,17 @@ declare variable $t as geometry:triangle := geo:make-triangle(); $t QName with a namespace prefix that is not in the statically known namespaces.

-

XQuery has several predeclared namespace prefixes that are present in the statically known namespaces before each query is - processed. These prefixes may be used without an explicit declaration. They may be overridden - by namespace declarations in a XQuery has several predeclared namespace prefixes, which are listed in + . + These prefixes may be used without an explicit declaration; they are present in the + statically known namespaces + before each query is processed. They may be overridden by + namespace declarations in a Prolog or by namespace declaration attributes on constructed elements (however, the prefix xml must not be redeclared, and no other prefix may be bound to the namespace - URI associated with the prefix xml - ). The predeclared namespace prefixes are as follows:

- - -

- xml: http://www.w3.org/XML/1998/namespace -

-
- -

- xs: http://www.w3.org/2001/XMLSchema -

-
- -

- xsi: http://www.w3.org/2001/XMLSchema-instance -

-
- -

- fn: http://www.w3.org/2005/xpath-functions -

-
- -

- array: http://www.w3.org/2005/xpath-functions/array -

-
- -

- map: http://www.w3.org/2005/xpath-functions/map -

-
- -

- math: http://www.w3.org/2005/xpath-functions/math -

-
- -

- err: http://www.w3.org/2005/xqt-errors -

-
- -

- local: http://www.w3.org/2005/xquery-local-functions (see .)

-
- -

- xq: http://www.w3.org/2012/xquery -

-
-
+ URI associated with the prefix xml ). +

Additional predeclared namespace prefixes may be added to the statically known namespaces by an implementation.