[basex-talk] BaseX schema aware

2017-02-23 Thread Leo Studer
Hello I am wondering whether there are plans to make BaseX schema aware? Thanks for considering Always Leo

Re: [basex-talk] value compare in namespace

2017-08-18 Thread Leo Studer
Hello Radim Your WHERE clause is either true or false depending whether “Failed” is in $FailedTests sequence or not. With ‘=‘ you compare sequences and not values. If one item matches it is true. let $FailedTests:=… return count($FailedTests[. eq ‘Failed’]) Cheers Leo > On 18 Aug 2017, at

Re: [basex-talk] -math:log10(1)

2018-05-27 Thread Leo Studer
Giuseppe this is the floating point representation IEEE 754 that allows -0 and 0 both being the same. Yours Leo > On 26 May 2018, at 17:01, Giuseppe Celano > wrote: > > - math:log10(1) returns -0 but -0 returns 0: is there a reason for that? > >

[basex-talk] BaseX not running

2018-02-21 Thread Leo Studer
Hello I try desperately getting baseX 8.6.7 to run on MacOS X 10.13.3 where I have Java 9 installed Here the error message: BaseX installed with homebrew today: MBP-2015:~ leo$ basexgui WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by

Re: [basex-talk] BaseX 9.0: The Spring Edition!

2018-03-24 Thread Leo Studer
Congratulations, I am looking forward to dave into it ;-) Thanks for the ongoing good work Yours Leo > On 23 Mar 2018, at 21:32, Christian Grün wrote: > > Dear BaseX aficionados, > > We are very happy to announce the release of BaseX 9.0! > > The new version of our

[basex-talk] eq vs =

2018-12-13 Thread Leo Studer
Hello Could someone explain me why this woks //country[@population = max(//@population)]/name Whereas this does not //country[@population eq max(//@population)]/name Thanks in advance Leo

Re: [basex-talk] eq vs =

2018-12-13 Thread Leo Studer
[1] https://www.w3.org/TR/xquery-31/#id-value-comparisons > > > > On Thu, Dec 13, 2018 at 10:17 AM Leo Studer wrote: >> >> Hello >> >> Could someone explain me why this woks >> >> //country[@population = max(//@population)]/name >> >> Whereas this does not >> >> //country[@population eq max(//@population)]/name >> >> >> Thanks in advance >> Leo

Re: [basex-talk] recursively used variables

2020-10-20 Thread Leo Studer
esn’t hold. > > Best, > Rob > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 > > From: Leo Studer <mailto:leo.stu...@varioweb.ch> > Sent: Monday, October 19, 2020 7:19 PM > To: Rob Stapper <mailto:r.stap...@lijbrandt.nl> > Subject

Re: [basex-talk] recursively used variables

2020-10-19 Thread Leo Studer
… or a xPath function in a variable declare %private variable $recursiveFunction:= function( $i, $recursiveFunction) { if ( $i > 0) then ($i, $recursiveFunction( $i - 1, $recursiveFunction)) else() } ; $recursiveFunction( 10, $recursiveFunction) > On 8 Oct 2020, at 14:17, Rob

Re: [basex-talk] recursively used variables

2020-10-19 Thread Leo Studer
Hi all Here how I call a function recursively declare %private function local:test( $i, $recursiveFunction) { if ( $i > 0) then ($i, $recursiveFunction( $i - 1, $recursiveFunction)) else() } ; local:test( 10, local:test#2) Always Leo > On 8 Oct 2020, at

[basex-talk] Random Numbers from Random.org

2020-06-03 Thread Leo Studer
Hello I try to use random numbers from random.org. Here my xpath let $urand := function(){doc("https://www.random.org/integers/?num=1min=0max=10col=1base=10format=htmlrnd=new;)//*:pre/number() div 10} return for $i in 1 to 10 return $urand() Which brings 10 time the same

[basex-talk] bizarre exceptions

2022-02-24 Thread Leo Studer
Hello I installed BaseX with homebrew on my mac and call basexgui in the terminal. The GUI opens and all goes well. After quit I get the below exceptions in the terminal. Anyone an idea what that is about? Thanks for the good work of the BaseX team Cheers Leo

Re: [basex-talk] bizarre exceptions

2022-02-24 Thread Leo Studer
Hi Christian Thanks for your answer. Same on my intel MacBook MacOS 12.2.1, openJDK 17.0.2, BaseX 9.6.4 The Exceptions are thrown during startup of the GUI. The program behaves correctly as far as I can tell. Best regards, Leo > On 24 Feb 2022, at 21:34, Christian Grün wrote: > > Hi Leo, >

Re: [basex-talk] BaseX 9.7 • Ukraine Edition

2022-03-24 Thread Leo Studer
Dear Mohammed Reading your message I feel a lot of pain and I am sorry that you feel some hurting people excluded with the idea of an Ukraine Edition. To me this feels like a beginning to include the humans suffering. I see it as a step to show up in these painful areas and I read it as

Re: [basex-talk] Scope of a xPath variable

2022-12-20 Thread Leo Studer
> > return > >element Memberships { > > for $countries in $doc//country > > group by $mp:= $membershipPotentcy($organizations($countries)) > > order by $mp > > return > >element {$mp} { > > for $country in $coun

[basex-talk] Item Separator

2024-02-27 Thread Leo Studer
Hello I am serialising the following expressions on oxygen/saxonEE12.3 as text (item-separator=“”) and wonder why the differente outputs let $xml:=text1text2 return $xml/element/text() gives text1text2 And let $xml:=text1text2 return $xml/element/string() text1 text2 When I set the

Re: [basex-talk] Item Separator

2024-02-27 Thread Leo Studer
trings. > By the way, extreme standard conformance is a hallmark of BaseX. > > Kind regards, > Hans-Jürgen > > [1] https://www.w3.org/TR/xslt-xquery-serialization-31/ > > Am Dienstag, 27. Februar 2024 um 12:03:55 MEZ hat Leo Studer > Folgendes geschrieben: > > >

Re: [basex-talk] Item Separator

2024-02-28 Thread Leo Studer
Dear Martin Thank you for investigating. > The "text1, , text2" I only see if oXygen shows the result as a sequence in > its result viewer; I would suggest to ask the oXygen support why you get that > result for that case, it seems like some quirk in their result viewer (it > shows two

[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] some eq versus =

2024-04-10 Thread Leo Studer
automatically rewrite version 1 to version 2.Best,ChristianOn Mon, Apr 8, 2024 at 11:59 PM Leo Studer <leo.stu...@varioweb.ch> wrote:Helloare the following queries equivalent?1. //city[some $city in following::city satisfies string(.) eq string($city)]2. //city[. = following::city ]Thanks in advance,Leo