Re: [basex-talk] some eq versus =

2024-04-08 Thread Martin Honnen
On 08/04/2024 23:58, Leo Studer wrote: Hello are the following queries equivalent? 1. //*city*[*some* *$city* *in* following::*city* *satisfies* /string/(.) eq /string/(*$city*)] 2. //*city*[.=following::*city*] More or less, I would say, depending on whether there is schema-aware proces

[basex-talk] some eq versus =

2024-04-08 Thread Leo Studer
Hello are the following queries equivalent? 1. //city[some $city in following::city satisfies string(.) eq string($city)] 2. //city[. = following::city ] Thanks in advance, Leo

Re: [basex-talk] Single command expected

2024-04-08 Thread Ветошкин Владимир
Hi, Christian, Thank you for your answer.I don't need to drop the user, but only user permissions.For now I have made the authorization deny function before user:kill. Then I change need user params, and then the authorization allow function is called.Hope this helps. 08.04.2024, 12:12, "Christian

Re: [basex-talk] Single command expected

2024-04-08 Thread Christian Grün
Hi Vladimir, There’s currently no such function available. Even if we had a user:kill function, we could not ensure that a user logs in a millisecond later when user:drop is going to be executed. We could enrich user:drop et al. with an “enforce” option to kill users, but the challenge is that a u