Hi
I am really happy to see an option to import xquery library - it shall let me organize my code much better.

When testing sample from wiki: http://docs.basex.org/wiki/Packaging 

I tried to modify proposed instruction:

import module namespace functx="http://www.functx.com";

into this, using alternative namespace:

import module namespace functxyz="http://www.functx.com";


The import worked well, but when calling 

functxyz:capitalize-first("test")

I got result: Error: [FONS0004] No namespace declared for prefix 'functx'.

Questions: Is this ok, that I am forced to use assigned namespace, or is this just some bug in the library I have teested? Or bug in BaseX?

With best regards

Jan

Ing. Jan Vlčinský
TamTam Research s.r.o.
Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic
tel: +420-597 602 024; mob: +420-608 979 040
skype: janvlcinsky; GoogleTalk: jan.vlcinsky@gmail.com
http://cz.linkedin.com/in/vlcinsky