Correct namespace of XPath Functions?

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 }
adam@exist-db.org
irc://irc.freenode.net/existdb

Received on Tuesday, 13 October 2015 16:15:35 UTC