[xquery-talk] local:* functions in library modules

John Snelson john.snelson at oracle.com
Wed Mar 4 16:16:42 PST 2009


Hi Florent,

That's correct - functions in a module must be in the module's 
namespace. The good news is that XQuery 1.1 will have private functions 
- that aren't exported from modules.

John

Florent Georges wrote:
>   Hi,
> 
>   If I understand correctly the definition of module declaration
> <http://www.w3.org/TR/xquery/#dt-module-declaration>, in particular
> the error err:XQST0048, we are not allowed to define a local:*
> function in a library module.
> 
>   Please tell me I am wrong!  I can't find something telling the
> opposite in the REC, but I can't believe this is the intent.
> 
>   Regards,
> 


-- 
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net


More information about the talk mailing list