Correct namespace of XPath Functions?

Adam Retter <[email protected]> Tue, 13 Oct 2015 17:15:07 +0100
Newsgroups gmane.comp.web.xforms
Message-ID <CAJKLP9aUYd8eYBG5Y3hGhPFkKj7A+9edFE149AReSCYnjiyYjg@mail.gmail.com>
Just a quick question for clarification on the namespaces of XPath
functions in various versions of XForms.

In the XForms 1.1 spec it states "The XForms Function Library includes
the entire [XPath 1.0] Core Function Library, including operations on
node-sets, strings, numbers, and booleans." and in the XForms 2.0 spec
it states "XForms 2.0 adds support for defining custom functions,
variables, a pluggable expression language with extra functions (XPath
2.0)".

In XForms 1.1, are the XPath 1.0 functions considered to be in the
XForms 1.1 namespace, i.e. http://www.w3.org/2002/xforms ?
... and in XForms 2.0 are the XPath 2.0 functions considered to be in
their own native namespace i.e. http://www.w3.org/2005/xpath-functions
?

If so am I correct in thinking that would mean that to migrate an
XForm from 1.1 to 2.0, I would need to change the namespace prefix of
functions like `count`?

Cheers Adam.

-- 
Adam Retter

eXist Developer
{ United Kingdom }
[email protected]
irc://irc.freenode.net/existdb