[basex-talk] Keyboard issue on MacBook (Apple M1 Pro)

2022-03-04 Thread Tim Thompson
Hello, I'm having a small but annoying issue with keyboard input in the BaseX GUI on a new MacBook (M1 Pro). I tend to use the U.S. International keyboard layout for ease of typing accented characters: e.g., using the apostrophe/quotation key as a dead key when typing é or ü. However, with this

Re: [basex-talk] Results of some experiments for improving full-text search speeds

2022-03-04 Thread Tamara Marnell
Thanks for the detailed explanations and the more efficient function, Christian! Yes, for our other indexes I have only one database representing all repositories. For the text I was concerned one index would be too big, because some of our finding aids are 2,000 pages when printed out, so I made

Re: [basex-talk] have a query report a warning?

2022-03-04 Thread Graydon Saunders
Hi Christian -- A definitive no means I can stop looking; thank you! I think I will probably just put the warnings in the report being generated in what is maybe the more XML-appropriate way. Much appreciated, Graydon On Fri, Mar 4, 2022 at 4:57 AM Christian Grün wrote: > Hi Graydon, > > In

Re: [basex-talk] Results of some experiments for improving full-text search speeds

2022-03-04 Thread Christian Grün
Hi Tamara, I assume that many of my thoughts are already known to you, so simply skip them in them just in case: While ft:search is pretty fast, it’s often the subsequent traversal of ancestor steps that consumes most of the time. In some cases, it can already make a difference if you use

Re: [basex-talk] validate:xsd-info agains more than one schema

2022-03-04 Thread Martin Honnen
On 04.03.2022 10:28, Arantza Etxebarria Pablo wrote: Dear Community, We have been trying to validate a file using the function *validate:xsd-info*($input as item(), $schema as item()?) as xs:string* against several different schemas and, we don't know how to send the parameter “schema” with

Re: [basex-talk] have a query report a warning?

2022-03-04 Thread Christian Grün
Hi Graydon, In XQuery, there is no such thing as a warning function. If we included such a function in BaseX, we’d probably need to define rules for each API (GUI, clients, RESTXQ, others) how to return such warnings. If you use BaseX on command-line, however, all output of fn:trace, prof:dump,

Re: [basex-talk] validate:xsd-info agains more than one schema

2022-03-04 Thread Zimmel, Daniel
Why not pass both schemas as a string? You could then tokenize it and get two validation reports. Or do you want one validation report for two schemas at once? I am not sure if that’s possible... let $schema:= "http://inspire.ec.europa.eu/schemas/bu-base/4.0/BuildingsBase.xsd

[basex-talk] validate:xsd-info agains more than one schema

2022-03-04 Thread Arantza Etxebarria Pablo
Dear Community, We have been trying to validate a file using the function *validate:xsd-info*($input as item(), $schema as item()?) as xs:string* against several different schemas and, we don't know how to send the parameter “schema” with more than one schema for this function. We have tried to