[xquery-talk] local:* functions in library modules
John Snelson
john.snelson at oracle.com
Wed Mar 4 17:21:27 PST 2009
Florent Georges wrote:
> John Snelson wrote:
>
>> 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.
>
> Thanks, John. But I am a bit surprised, I always thought that was the purpose of local:* functions. How does XQuery 1.1 define those module-private functions?
I think it's going to be "declare private function". The "local"
namespace was only ever a convenient namespace to put functions in if
you didn't care what the namespace was.
John
--
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