[basex-talk] Simple xQuery functions do not work as expected

2015-04-21 Thread Goetz Heller
I think the issue is not of great relevance. Up to now, I hadn't the issue when working programmatically, so it appears to be a GUI problem which probably could be solved be assigning more memory to the runtime. I did not try this out. However, I can see that I'm quite often in the red region of

[basex-talk] Simple xQuery functions do not work as expected

2015-04-21 Thread Goetz Heller
Hi Christian, nice tip - I did not know this. With BaseX I'm really a newbie, and I just try to get my work done. As to now, it's a very nice experience, and BaseX supports many of the requirements I have. I'll give it a try and let you know! Kind regards

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Lukas Kircher
Hi Goetz, I also had a quick try myself. It works without any problems on my setup (without the 'compare' function) and gives me the following results: *local:getLabel('_and', 'FR') -- et* *local:getLabel('_and') -- und* Setup: *OS X 10.10* *java version 1.8.0_25* *BaseX 8.0.3

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Goetz Heller
/ /CElem /List /GFLWOR /QueryPlanEND_OUTPUT -Ursprüngliche Nachricht- Von: Christian Grün [mailto:christian.gr...@gmail.com] Gesendet: Mittwoch, 25. März 2015 14:00 An: Goetz Heller Cc: BaseX Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected the issue showed

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Christian Grün
the issue showed up again, this time outside of a function. The computer was only moderately charged, but the change of behavior occurred after I loaded a 25MB text file into Notepad++. Should I change something in the JVM settings? To be honest, I really have no clue yet what's going on

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Christian Grün
/QueryPlanEND_OUTPUT -Ursprüngliche Nachricht- Von: Christian Grün [mailto:christian.gr...@gmail.com] Gesendet: Mittwoch, 25. März 2015 14:00 An: Goetz Heller Cc: BaseX Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected the issue showed up again, this time

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Eliot Kimber
/QueryPlanEND_OUTPUT -Ursprüngliche Nachricht- Von: Christian Grün [mailto:christian.gr...@gmail.com] Gesendet: Mittwoch, 25. März 2015 14:00 An: Goetz Heller Cc: BaseX Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected the issue showed up again, this time outside of a function

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Christian Grün
An: Goetz Heller Cc: BaseX Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected the issue showed up again, this time outside of a function. The computer was only moderately charged, but the change of behavior occurred after I loaded a 25MB text file into Notepad++. Should I

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Eliot Kimber
: Mittwoch, 25. März 2015 14:00 An: Goetz Heller Cc: BaseX Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected the issue showed up again, this time outside of a function. The computer was only moderately charged, but the change of behavior occurred after I loaded a 25MB

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Goetz Heller
Nachricht- Von: Christian Grün [mailto:christian.gr...@gmail.com] Gesendet: Mittwoch, 25. März 2015 11:27 An: Goetz Heller Betreff: Re: [basex-talk] Simple xQuery functions do not work as expected P.S.: Please make sure that our conversation appears at BaseX-Talk since I'm receiving mails from

[basex-talk] Simple xQuery functions do not work as expected

2015-03-24 Thread Goetz Heller
I tried to implement a simple Xml-based dictionary. Here is a fragment of the Xml data I’m using: ?xml version=1.0 encoding=utf-8? LABELS LABEL label=_and TERM LG=ENand/TERM TERM LG=FRet/TERM TERM LG=DEund/TERM TERM LG=BGи/TERM TERM LG=CSa/TERM TERM LG=DAog/TERM

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-24 Thread Christian Grün
Dear Goetz, Thanks for your mail. The first function appears to work as expected. However, instead of “[@LG = $lang]” I had to use [compare(@LG, $lang) = 0]” – I don’t know why, but otherwise, it does not return any results. I tried the query, but I get a result in both cases, no matter if I