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
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
[1] https://docs.basex.org/main/BaseX_10#functions
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
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
On 9/17/2024 1:43 PM, Christian Grün wrote:
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
[1] https://docs.basex.org/main/BaseX_10#functions
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
basex-talk@mailman.uni-konstanz.de