Hi Christian,
I just get the error message about unknown function when I try
this now from the command line or the editor. So, I'm not sure
what resulted in the error message about the prefix. Sorry.
Best regards,
Kendall
Dear Kendall,
with BaseX 10, db:open was replaced with db:get [1]. With version 11, the deprecated function was removed.
I cannot tell, though, why the prefix is said to be unknown. Could you please share the exact error message with us?
Best,Christian
Kendall Shaw <kshaw@kendallshaw.com> schrieb am Di., 17. Sept. 2024, 22:26:
I'm using basex 11.2 under WSL ubuntu 24.04 when I use the command
xquery count(db:open('some')/*), I see an error message about db prefix
being undefined. The same thing from an editor tab.
import module namespace db = 'http://basex.org/modules/db';
count(db:open('some')/*)
I get the same error message.
Is this to be expected? How can I supply what is needed?
Thanks,
Kendall Shaw