Re: [basex-talk] starts-with in a satisfies statement fails to fail

2019-02-13 Thread Christian Grün
This doesn’t really contribute to your problem, but if all items in $elements are of type node() or xs:string, you could possibly simplify your query to something as follows: declare function common:string($elements) as xs:string* { $elements ! lower-case(normalize-space(.)) }; If you won’t,

Re: [basex-talk] starts-with in a satisfies statement fails to fail

2019-02-13 Thread George Sofianos
Hi again, My mistake, I failed to see an error in my code which returned empty elements, which resulted in the quantifier not executing. Sorry for wasting your time and have a good evening! On 2/13/19 6:19 PM, Christian Grün wrote: I'm not sure if you can find anything from the Query plan

Re: [basex-talk] starts-with in a satisfies statement fails to fail

2019-02-13 Thread George Sofianos
Hi Christian, On 2/13/19 6:19 PM, Christian Grün wrote: Difficult to tell without investing some considerable time I guess… How does the original query look like that produces this query plan? Maybe we still have a chance to get this reproducible? There are just two function involved in this.

Re: [basex-talk] starts-with in a satisfies statement fails to fail

2019-02-13 Thread Christian Grün
> I'm not sure if you can find anything from the Query plan for why this is > happening. This fails either with or without inlining. > Regards, Difficult to tell without investing some considerable time I guess… How does the original query look like that produces this query plan? Maybe we still