Hi Marco,
In the meantime is it possible, somehow, to parametrize calls to .bsx
scripts when called through the RUN command from inside another .bsx?
We are not quite sure where we should start and end with this, as it
could also be nice to have conditions or try/catch clauses. On the
other
Hi,
I am trying to maintain a Set of DBNode Object But, it was not working
properly because DBNode is not overriding the equals() and hashcode()
methods. Due to this reason i am facing difficulty to maintain similar
DBNode. Looking forward for help.
Thanks Regards
Ankit Kumar
Hi,
In the result of a function:inspect(), it seems that the @name of the function
element is not a prefixed name when using the declare default namespace in a
function module whereas it is prefixed name for the others.
Is it me who miss something, or it should always be the same ?
Thanks,
Hello Rob,
well, it is interesting that the optimizer is optimizing away every second
function call. However, the problem here seems to be introduced solely by
prof:dump() and I actually can understand that optimizing this is more
complicated. Not saying that it couldn't be optimized
Hello Ankit,
I don't quite get the problem or what we are supposed to do. Why don't you
simply write your own class extending DBNode, overwrite the methods and store
these in a set?
Cheers
Dirk
On 02/24/2015 01:19 PM, ankit kumar wrote:
Hi,
I am trying to maintain a Set of DBNode Object
Hi Rob,
I can only confirm what Dirk said: If a query contains trace or
prof:dump calls, it will be evaluated differently than calls without
profiling code. In productive environments, it's usually advisable to
get rid of those calls, or use global $DEBUG variables, as shown in
the following
Hi,
I want to compare equality for two Iter objects. Each contains a set of
DBNodes in unordered manner. I have created a wrapper for Iter object. Can
you please help me in defining equals and hashcode method for the wrapper.
Thanks
Ankit
Can
you please help me in defining equals and hashcode method for the wrapper.
This may help (it's the code used for the XQuery operator is, which
compares the node identity of two nodes for equality):
What about using XQuery?
let $a := ...
let $b := ...
return deep-equal($a/., $a/.)
On Tue, Feb 24, 2015 at 3:37 PM, ankit kumar anky4b...@gmail.com wrote:
Hi ,
Thanks for the help.
We have two Result object, Both are pointing to the same set of nodes but
having different order. We
Hi Marco,
There are two clients which read and write through RESTXQ to/from 2
different logical DBs on the same server.
Is it possible that behaving concurrently we cause some sort of race
condition that serializes operations for a long time period?
Yes, this is absolutely possible. I guess
Hi ,
Thanks for the help.
We have two Result object, Both are pointing to the same set of nodes but
having different order. We are trying to check whether two result are same
using Result's sameAs() method but it is returning false when orders
mismatch.
Thanks
On 24 February 2015 at 19:18,
Hi Christain and Dirk,
Thanx again for your thorough reply and for the code-snippet.
After debugging and my code works fine again I always get rid of all trace- and
prof:dump-statements.
Regards,
Rob
-Oorspronkelijk bericht-
Van: Christian Grün [mailto:christian.gr...@gmail.com]
Hi Emmanuel,
I think the current behavior is correct. You'll indeed need to look at
both the name and uri in order to reference the correct function. I
just tried the following query:
declare default function namespace 'x';
declare namespace x='x';
declare function a() { 1};
declare
I may be wrong, but for me uri (namespace) and prefix are not necessarily the
same.
So, I would expect always a prefixed name for @name, because when uri and
prefix are different, it becomes impossible to deduce the prefixed name.
I see (I guess).. Could you provide us with some example
Thanks for your answer.
I may be wrong, but for me uri (namespace) and prefix are not necessarily the
same.
So, I would expect always a prefixed name for @name, because when uri and
prefix are different, it becomes impossible to deduce the prefixed name.
But it may need a closer look to the
Christian Grün wrote:
I have added a GitHub issue on your locking request [1]. In the
meanwhile, it's probably best to use RESTXQ (XQuery) and check if a
resource is locked before returning it to a user.
[1] https://github.com/BaseXdb/basex/issues/1083
Thanks.
Meanwhile I started working on
16 matches
Mail list logo