Re: [basex-talk] Help dealing with slow API responses

2021-11-24 Thread Christian Grün
Hi Bridger, > As always, thanks for your time and help. You are welcome! > In my real world case, which again I hesitate to share, *all* requests are > slow. In the meantime, maybe this new URL/endpoint might help illustrate. It does indeed; it takes around a minute for this query to be fully

Re: [basex-talk] Module imports are not transitive?

2021-11-24 Thread Christian Grün
Hi Andy, An interesting finding! I didn’t notice this so far, and it seems no one else did. I have added an issue to track this down [1]. Thanks, Christian [1] https://github.com/BaseXdb/basex/issues/2048 On Wed, Nov 24, 2021 at 7:08 PM Andy Bunce wrote: > > Hi, > > "Module imports are not

Re: [basex-talk] Question about ft:normalize

2021-11-24 Thread Christian Grün
Hi Tim, > Does BaseX support any Unicode block properties, such as > \p{InCombiningDiacriticalMarks}, in regex functions? \p{Mn} works, but > \p{InCombiningDiacriticalMarks} doesn't seem to. Yes, it does. The confusion may have been caused by a little typo [1]; try this: matches('',

Re: [basex-talk] Question about ft:normalize

2021-11-24 Thread Tim Thompson
Thanks again. Does BaseX support any Unicode block properties, such as \p{InCombiningDiacriticalMarks}, in regex functions? \p{Mn} works, but \p{InCombiningDiacriticalMarks} doesn't seem to. Tim -- Tim A. Thompson (*he, him*) Librarian for Applied Metadata Research Yale University Library

Re: [basex-talk] Help dealing with slow API responses

2021-11-24 Thread Bridger Dyson-Smith
Hi Christian, As always, thanks for your time and help. On Wed, Nov 24, 2021 at 12:18 PM Christian Grün wrote: > Hi Bridger, > > > I'm pulling data back from an OAI-PMH endpoint that is slow; i.e. > response times are ~1/minute. > > I’ve tried the example you have attached (thanks). It’s seems

[basex-talk] Module imports are not transitive?

2021-11-24 Thread Andy Bunce
Hi, "Module imports are not transitive—that is, importing a module provides access only to function and variable declarations contained directly in the imported module. For example, if module A imports module B, and module B imports module C, module A does not have access to the functions and

Re: [basex-talk] Help dealing with slow API responses

2021-11-24 Thread Christian Grün
Hi Bridger, > I'm pulling data back from an OAI-PMH endpoint that is slow; i.e. response > times are ~1/minute. I’ve tried the example you have attached (thanks). It’s seems to be much faster. Do you think that’s just my geographic proximity to the Konstanz-based server, or did you use a

Re: [basex-talk] random items not sorted

2021-11-24 Thread Christian Grün
…thanks for the easily reproducible bug report. The issue has been fixed and a new snapshot is available [1]. Best, Christian [1] https://files.basex.org/releases/latest/ On Wed, Nov 24, 2021 at 2:48 PM Tom De Herdt wrote: > > Hi, > > While doing some tests, I noticed an unexpected query

[basex-talk] random items not sorted

2021-11-24 Thread Tom De Herdt
Hi, While doing some tests, I noticed an unexpected query result in Basex 9.6.3 (on Windows 10). This query: let $ids := for $i in 1 to 10 return random:uuid() for $id in $ids order by $id return $id ... returns 10 UUIDs, but they are /not/ sorted. Information from the Info pane in the