[MarkLogic Dev General] Undefined function error()
Florent Georges
lists at fgeorges.org
Thu Mar 5 02:47:45 PST 2009
Danny Sokolsky wrote:
> This is because the default namespace of the library module is your
> library namespace (http://test.com).
Thanks, Danny. However, I didn't find that rule in the REC. The
only relevant text I found is the definition of a default function
namespace decl. <http://www.w3.org/TR/xquery/#id-default-namespace>
which tells that:
If no default function namespace declaration is present, the
default function namespace is the namespace of XPath/XQuery
functions, http://www.w3.org/2005/xpath-functions
Of course, an implementation can define a different namespace as
stated in the appendix C.1, but this is "not recommended"
<http://www.w3.org/TR/xquery/#id-xq-static-context-components>.
Do you have any pointer in the REC or in the MarkLogic documentation
about default function namespace and library modules?
Regards,
--
Florent Georges
http://www.fgeorges.org/
More information about the General
mailing list