Re: [basex-talk] sequences after the path operator

2023-07-07 Thread Graydon Saunders
Hi Christian -- *> The document order can only be restored if the result of an expression is a sequence of nodes.* Thank you! That does help, in as much as I was thinking that the order came from the left side, not the right side. I feel much less confused now. (I used an if in the original

Re: [basex-talk] Apparent bug when setting @xml:base on element with @base

2023-07-07 Thread Christian Grün
Hi Eliot, Thanks for the observation, a bug fix is available [1,2]. Best, Christian [1] https://files.basex.org/releases/latest/ [2] https://github.com/BaseXdb/basex/issues/2227 On Fri, Jul 7, 2023 at 12:48 AM Eliot Kimber wrote: > > This XQuery demonstrates the problem: > > (::) >

Re: [basex-talk] sequences after the path operator

2023-07-07 Thread Christian Grün
Hi Graydon, The document order can only be restored if the result of an expression is a sequence of nodes. In the given case, … analyze-string($test,'\p{Lu}')/( fn:match/concat('[',.,']'), fn:non-match/string() ) …two string sequences are generated (for matches and non-matches) which have