Re: [basex-talk] FW: minor issue in the project-view of BaseX-GUI with error marking

2016-01-12 Thread Christian Grün
Hi Rob, I got it and fixed it [1]. Thanks for the notification. Christian [1] http://files.basex.org/releases/latest/ On Wed, Jan 13, 2016 at 7:47 AM, Rob Stapper wrote: > And a posting to the list of course. > > > -Oorspronkelijk bericht- > Van: Rob Stapper

Re: [basex-talk] Automatically generating test cases. Hidden feature?

2016-01-12 Thread Christian Grün
Hi Marc, > BaseX, the gift that keeps on giving, thanks to all that make it possible. One of the nicest compliments that we got so far… Thanks ;) > So, a bit to my amazement, the following works: > > let $equals := > %unit:test > function($a,$b) { >

[basex-talk] FW: minor issue in the project-view of BaseX-GUI with error marking

2016-01-12 Thread Rob Stapper
And a posting to the list of course. -Oorspronkelijk bericht- Van: Rob Stapper [mailto:r.stap...@lijbrandt.nl] Verzonden: woensdag 13 januari 2016 7:31 Aan: 'Christian Grün' Onderwerp: RE: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking Hi Christian, Here

Re: [basex-talk] Adding basex-talk to markmail

2016-01-12 Thread Christian Grün
> I wasn't able to find basex-talk in markmail.org - a fantastic site for > searching mailing list archives. Would the list owners/administrators > consider submitting this list to markmail? Information about this can be > found at http://markmail.org/docs/feedback.xqy. Done; I’m waiting for

Re: [basex-talk] Fulltext Stemming

2016-01-12 Thread Christian Grün
Hi Günter, You can play around with ft:normalize to see how the stemmer works: for $term in ('grün', 'Grüße') return { ft:normalize($term, map { 'language': 'German', 'stemming': true() }) } Here is a link to our German stemmer implementation [1]. Maybe there’s some

[basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread kleist
Hi all, hi Christian is there any way to get the complete list of the full-text-index? With the GUI I only get the first part: - Names: - Size: 5 MB - Entries: 23401 und 22662x der 20595x Thanks in advance. Best regards, Günter

Re: [basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread kleist
Perhaps I don't get it, that command gives me the number of a specific term? But I need the list of all terms (with number of occurences). Best, Günter > Am 12.01.2016 um 21:39 schrieb Christian Grün : > >> is there any way to get the complete list of the

[basex-talk] Fulltext-Search: wildcards and thesaurus

2016-01-12 Thread kleist
Hi all, hi Christian, is it possible to combine wildcards and thesaurus in a fulltext-search, for example: contains text "nachricht.*" using wildcards using thesaurus at "thesaurus.xml" Best regards, Günter

Re: [basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread Christian Grün
> is there any way to get the complete list of the full-text-index? Yes there is [1]. Check out all other functions in the Full-Text Module; they may help you in various other situations. Cheers, Christian [1] http://docs.basex.org/wiki/Full-Text_Module#ft:tokens With the GUI I only get the

[basex-talk] XQUF 3.0, MIXUPDATES

2016-01-12 Thread Hans-Juergen Rennau
Dear BaseX team, version 3.0 of the XQuery Update Facility (XQUF) allows expressions to perform an updating operation *and* return a value (e.g. [1]). Presently, BaseX supports probably only version 1.0 of the XQUF, so the mixing of update and value creates an error - and option MIXUPDATES

[basex-talk] Automatically generating test cases. Hidden feature?

2016-01-12 Thread Marc van Grootel
Hi, Been a long time since posting. Work is very busy recently. Luckily for me a lot of it involves XQuery ;-) I am elaborating some examples [1] that show off the use of my Origami [2] library. The most promising ones I will turn in to blog posts or a wiki at some point. Recently I've been

Re: [basex-talk] XQUF 3.0, MIXUPDATES

2016-01-12 Thread Christian Grün
Hi Hans-Jürgen, MIXUPDATES exists, it works, and it is used in practice. However, you cannot specify it in the prolog of a query, because it also affects imported modules. If you e.g. put MIXUPDATES=true in your .basex file, you’ll see that you can mix updates and return values. Hope this helps,

Re: [basex-talk] Fulltext-Search: wildcards and thesaurus

2016-01-12 Thread Christian Grün
> is it possible to combine wildcards and thesaurus in a fulltext-search, for > example: It is… But the exact semantics still need to be documented I guess.

Re: [basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread Christian Grün
What did you try so far? On Tue, Jan 12, 2016 at 9:49 PM, kleist wrote: > Perhaps I don't get it, that command gives me the number of a specific term? > But I need the list of all terms (with number of occurences). > > Best, Günter > >> Am 12.01.2016 um 21:39 schrieb

Re: [basex-talk] XQUF 3.0, MIXUPDATES

2016-01-12 Thread Hans-Juergen Rennau
Super, Christian, that's very helpful! In order to make versatile tools *portable* (independent of .basex files on the tool user's machine), it would of course be great if sooner or later the XQUF 3.0 will be supported. Such support would make the option obsolete, I think. Cheers,Hans-Jürgen

[basex-talk] XML embedded in JSON

2016-01-12 Thread E. Wray Johnson
We have JSON that has string/text values which are XML. Is there a way o have the XML as sub-elements value and not be encoded/escaped string? Wray Johnson

Re: [basex-talk] XML embedded in JSON

2016-01-12 Thread Imsieke, Gerrit, le-tex
Actual XML elements in actual JSON documents won’t be feasible I guess. But after you’ve transformed the JSON to XML, you can parse the escaped strings into XML elements proper, using http://www.w3.org/TR/xpath-functions-3/#func-parse-xml On 13.01.2016 02:06, E. Wray Johnson wrote: > We have JSON

Re: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking

2016-01-12 Thread Christian Grün
Hi Rob, If your xq file imports the xqm file, this is expected behavior: As long as an imported module is not valid, the importing module cannot be parsed either. If the xq file can be successfully run, just send me the two files, and I’ll have a closer look. Christian On Tue, Jan 12, 2016 at

[basex-talk] minor issue in the project-view of BaseX-GUI with error marking

2016-01-12 Thread Rob Stapper
Hi, I found that when a directory contains both a program- and a module-file with the same name but with different extensions ( .xq and .xqm) both file are marked as erroneous in the project-view if only one file, on my case the module-file, is indeed erroneous and the other file is ok.

[basex-talk] XML Commands

2016-01-12 Thread E. Wray Johnson
How do you execute XML commands from the BaseX GUI? Why can't multiple XML commands be executed from the BaseXClient.java? How can database options (e.g. autooptimize) be changed from the GUI without opening the database and locking it?

Re: [basex-talk] XML Commands

2016-01-12 Thread Christian Grün
> How do you execute XML commands from the BaseX GUI? What do you mean by "XML commands"? If you talk about BaseX commands, you can use the input bar [1], or write command scripts [2] in the editor. If you store your scripts with the .bxs suffix, it will be executed as command script. > Why