Re: [basex-talk] SSL support for BaseX REST API

2018-03-14 Thread Andy Bunce
I have been trying this out recently, in part to look at service workers [1] I am using BaseX 9 betas for this. This has a newer jetty version. I have put a jetty.xml that is working for me as a gist [2] You will need to change the keystore location [3] to something that points to your keystore.

Re: [basex-talk] GUI

2018-04-16 Thread Andy Bunce
Hi Giuseppe, It has been moved to be the 1st button on the toolbar "New"(or ctl-T) /Andy On 16 April 2018 at 09:55, Giuseppe Celano wrote: > I see that in the 9.0 version the "+ button" to add a new tab is missing. > I think it was very useful: can it be

Re: [basex-talk] Converting a Date

2018-11-05 Thread Andy Bunce
Hi Ron, I took a quick look at Joe's module and made the following changes: 1. Change datetime:format-date(..,"-MM-dd") to format-date(..,"[]-[MM]-[DD]") 2. *Change xdt*:dayTimeDuration("P1D") -> *xs*:dayTimeDuration 3. Change function in namespace *local:* to *dates:* And

Re: [basex-talk] restxq

2018-11-09 Thread Andy Bunce
Hi Giuseppe, You can use the dba app to see what settings are in use. Goto url /dba/settings and check WEBPATH. /Andy On Fri, 9 Nov 2018 at 13:10, Giuseppe G. A. Celano < cel...@informatik.uni-leipzig.de> wrote: > Hi Marco, > > I think you are right, but I cannot find the webapp folder which

Re: [basex-talk] XML catalog with fetch:xml

2018-09-25 Thread Andy Bunce
', map { > 'catfile': '/path/to/catalog.xml', > 'dtd': true() > }) > > file.xml: > > > > catalog.xml: > >rewritePrefix="file:///path/to/dtd/" /> > > > Hope this helps (a little), > Christian > > >

Re: [basex-talk] Programmatically extracting function signatures

2018-09-17 Thread Andy Bunce
Sounds good. Of course I meant the etc/ folder not lib/. /Andy On 17 September 2018 at 17:28, Bridger Dyson-Smith wrote: > Andy - > thank you for that suggestion! > > On Mon, Sep 17, 2018 at 12:13 PM Andy Bunce wrote: > >> If you look in lib/ folder the file modules.z

Re: [basex-talk] Programmatically extracting function signatures

2018-09-17 Thread Andy Bunce
If you look in lib/ folder the file modules.zip contains the BaseX modules as .xqm stub files with functions marked as external. The entry for archive:delete is shown below. At one point I am sure these *.xqm could be parsed by functions like inspect:module and inspect:xqdoc Currently they raise

Re: [basex-talk] First non-null value?

2018-09-14 Thread Andy Bunce
If you put your "possibles" in an array rather than a sequence then the index of the first non-empty item identifies the match. let $results := [$possible1,$possible2,$possible3,$possible4,$ possible5,'FAILED'] let $index:= array:fold-left($results, -1,

[basex-talk] XML catalog with fetch:xml

2018-09-18 Thread Andy Bunce
Hi, Using a recent 9.1 Beta on windows. I create an XML catalog at c:\tmp\mycatalog.xml http://nowhere.com/doc; uri="file:///c:/tmp/doc.xml" /> Then in the GUI fetch:xml("http://nowhere.com/doc;, map{"catfile": "C:\tmp\mycatalog.xml"} ) It goes to nowhere, I was hoping to get back

Re: [basex-talk] Global locks

2019-02-08 Thread Andy Bunce
sorry typo there, should be: I expected *BEP *to appear only in the Read locking, as it does if I remove the db:create call On Fri, 8 Feb 2019 at 16:03, Andy Bunce wrote: > Using 9.1.2 > > let $d:=db:open(``[BEP]``) > return db:create(``[BEP-staging]``,$d,$d!base-uri(.)) >

Re: [basex-talk] Global locks

2019-02-08 Thread Andy Bunce
Using 9.1.2 let $d:=db:open(``[BEP]``) return db:create(``[BEP-staging]``,$d,$d!base-uri(.)) The GUI query info reports: - Read Locking: (none) - Write Locking: BEP,BEP-staging I expected BEP-staging to appear only in the Read locking, as it does if I remove the db:create call Is this correct?

[basex-talk] jobs:list-details o/p

2019-02-12 Thread Andy Bunce
Hi, Before BaseX 9 jobs:list-details would return the query string used in the jobs:eval (or the uri if that was used) - as per the current docs [1] Versions 9+ returns a "dummy" file name in this case. jobs:eval("2+4",(),map{"cache":true()}) jobs:list-details("job2")

Re: [basex-talk] jobs:list-details o/p

2019-02-13 Thread Andy Bunce
ing that should work > similar to the original one. > > A new snapshot is online [1], your feedback is welcome. > Christian > > [1] http://files.basex.org/releases/latest/ > > > > On Tue, Feb 12, 2019 at 7:05 PM Andy Bunce wrote: > > > > Hi, > > >

Re: [basex-talk] Global locks

2019-02-14 Thread Andy Bunce
I look forward to the longer term solution :) But in the meantime these pragmas, although not pretty, would allow solutions to specific multitasking performance issues to be explored where currently they can be difficult/impossible. I think there is a certain elegance in advisory nature of

Re: [basex-talk] A Tail Call, that runs (not) if different numeric values are being used as parameter

2019-04-13 Thread Andy Bunce
Hi Andreas, Ignoring for a moment the mysteries of tail recursion, I wonder if a simple regex can give you the wrapping you are looking for. See [1] declare function local:word-wrap($string,$width){ $string=>normalize-space()=>concat(" ")=>replace(``[(.{0,`{ $width }`}) ]``,'$1') }; "This is a

Re: [basex-talk] BaseX 9.2: The Spring Edition

2019-04-17 Thread Andy Bunce
Thanks for this. I particularly like db:dir, which I think will help with creating performant collection-based views of databases. I am not clear what is meant by: > - no need to import basex-api modules anymore! Does this just mean all modules listed at http://docs.basex.org/wiki/Module_Library

Re: [basex-talk] problem: accessing inner java class methods with bases java bindings

2019-07-08 Thread Andy Bunce
Hi Florian, It can be done, but it is perhaps a bit fragile. You need to see now the class you want to reference is named after compilation(e.g in the jar). Often it will be of the form outerclass$innerclass.class A BaseX example accessing a inner class Builder from a Parser class [1]. Some

Re: [basex-talk] Processing instruction constructors: problem with output

2019-08-22 Thread Andy Bunce
Reminds me of a similar issue I had with inline script blocks containing < characters.. xhtml sets the serialization but the content type will stay as text/html unless you explicitly set it. %output:media-type('application/xhtml+xml') /Andy On Thu, 22 Aug 2019 at 16:47, Tim Thompson wrote: >

Re: [basex-talk] BaseX GUI language settings

2020-02-26 Thread Andy Bunce
Hi Ben, GUI Menu... Options>Preferences>Language As it says, a GUI restart is required. Cheers /Andy On Wed, 26 Feb 2020 at 08:46, Ben Engbers wrote: > Hi, > > My default language for basexgui is Dutch but I want to create > screenshots from a GUI that uses English. > > How can I switch the

Re: [basex-talk] missing web.xml from docker image

2020-09-15 Thread Andy Bunce
If some updating of the docker image is undertaken it would be good to try to enable multi-architecture support. Currently the BaseX docker image fails on ARM machines. It is far from alone in this. It is a shame as BaseX seems to run surprisingly well on ARM64 machines such as the Odroid N2 and

Re: [basex-talk] Help with a function to return paths

2020-10-16 Thread Andy Bunce
Hi Bridger, How about.. declare function local:pathbuild($result as xs:string,$this as node()){ concat( $result, "/" , name($this), $this/@*! concat("[@" , name(.) , "='" , data(.), "']")=>string-join('') ) };

Re: [basex-talk] Help with a function to return paths

2020-10-16 Thread Andy Bunce
If you really don't want the leading / declare function local:pathbuild($result as xs:string,$this as node()){ concat( $result, '/'[$result], name($this), $this/@*! concat("[@" , name(.) , "='" , data(.), "']")=>string-join('') ) }; O

Re: [basex-talk] Accessing Flexmark (Java) from Query

2020-09-20 Thread Andy Bunce
Hi Andreas, I think Martin has it right, I have some old code that does it like that [1]. You can try it via[2] /Andy [1] https://github.com/expkg-zone58/ex-markdown/blob/master/src/main/content/markdown.xqm#L12 [2] https://github.com/expkg-zone58/ex-markdown/releases On Sun, 20 Sep 2020 at

Re: [basex-talk] BaseX - CORS

2020-08-08 Thread Andy Bunce
Hi Elina, (cc: basex-talk) Happy to help. That email correspondence is a bit old, and the code referenced is ancient. I suspect your problems creating the headers in XQuery restxq are due to default namespace prefix changes, rest vs restxq, way back when. You are correct that enabling the

Re: [basex-talk] FOP module

2020-12-12 Thread Andy Bunce
I am sure it is already on your list but just in case... There are some map:new references that need to be map:merge in https://files.basex.org/modules/org/basex/modules/map-extras.xqm /Andy On Fri, 11 Dec 2020 at 15:50, Christian Grün wrote: > Hi Jérôme, > > I just learned there are some more

Re: [basex-talk] getting request's headers inside a Web Application

2021-06-15 Thread Andy Bunce
Hi BR, When called from within a WebApp this should give the result you are looking for.. *request:header*( 'User-Agent') See https://docs.basex.org/wiki/Request_Module#request:header /Andy On Tue, 15 Jun 2021 at 15:33, dudz...@yahoo.com wrote: > Dear all, > > I do not see an option to

Re: [basex-talk] java.lang.RuntimeException: Data Access out of bounds

2021-07-29 Thread Andy Bunce
I remember seeing similar stacktraces with an old BaseX version. Could even have been 9.1. I would inspect[1] the database and run against latest version /Andy [1] .https://docs.basex.org/wiki/Commands#INSPECT On Thu, 29 Jul 2021 at 20:54, Christian Grün wrote: > Maybe you could try to find

[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] Issue with HTTP client and authentication

2022-02-02 Thread Andy Bunce
I find httpbin.org a useful resource to test this kind of thing [1] and [2] /Andy [1] http://httpbin.org/#/Auth/get_basic_auth__user___passwd_ [2] http://httpbin.org/basic-auth/user1/mypass On Wed, 2 Feb 2022 at 16:58, Christian Grün wrote: > Good to hear; so at least Digest is detected at

Re: [basex-talk] Unable to Make My Custom EXPath Module Work

2022-01-24 Thread Andy Bunce
Hi, I have used EXPath packaging, often to package some Java code and a calling xquery module [1]. >the URL of the expath-pkg.xml library module which will be imported from outside must match the name of the package In my experience this is not required, see [2] for example. I think the problem

Re: [basex-talk] Accessing BaseX server on remote machine

2023-08-16 Thread Andy Bunce
Hi Tom, Can you ping the remote machine? Can you connect using basexclient.bat? Which version of basex? /Andy On Wed, 16 Aug 2023, 22:00 Furst, Thomas, wrote: > Never got any response on this. Does anyone have any help they can provide? > > > > *From:* BaseX-Talk *On > Behalf Of *Furst,

Re: [basex-talk] Accessing BaseX server on remote machine

2023-08-17 Thread Andy Bunce
BaseX > locally there. > > > > I connected using basexclient.bat on the remote machine. I saw no way to > connect remotely using that .bat file. > > > > Version of BaseX is 10.6 > > > > *Tom Furst* > > Developer, S1000D SME > > > >

Re: [basex-talk] Using error and catch for error paths in REST API endpoint code

2022-04-20 Thread Andy Bunce
Hi Omar, Thanks for this. I also enjoyed your earlier message re: >I tried to get creative at finding a way to optimize querying the data without having many long lasting global lock situations I have been in a similar situation and discovered how alternative code approaches using different

Re: [basex-talk] Using error and catch for error paths in REST API endpoint code

2022-04-24 Thread Andy Bunce
analysis and the minimized example. > > > On Sun, Apr 24, 2022 at 2:05 PM Andy Bunce wrote: > >> Thanks for the resolution hint and the clue that there is no error when >> running locally. >> >> I dug a bit deeper. It seems running modules via http shines a light on >&

Re: [basex-talk] Using error and catch for error paths in REST API endpoint code

2022-04-24 Thread Andy Bunce
Thanks for the resolution hint and the clue that there is no error when running locally. I dug a bit deeper. It seems running modules via http shines a light on some less common codepaths #[2091] I get an error from just: inspect:xqdoc("

Re: [basex-talk] Using error and catch for error paths in REST API endpoint code

2022-04-25 Thread Andy Bunce
I imagine reworking the scopes will be very much non-trivial. (I am just happy I found that "simple" example - XQST0049 has been troubling me for years) Thanks, for this and all your great work on BaseX. /Andy On Mon, 25 Apr 2022 at 15:13, Christian Grün wrote: > Although this can run into

Re: [basex-talk] Adding another document from XQuery evaluation

2022-05-18 Thread Andy Bunce
Hi Markus, I don't think the messages are misleading, however the rules here can be hard to follow at first. My understanding of the updating rules is: All the updating must be done together as the very last thing to happen. This means ONLY in the final 'return' statement of the main expression

Re: [basex-talk] Repeating data based on varying items in an array

2022-05-13 Thread Andy Bunce
Hi Markus, Possibly the below is helpful to you /Andy declare function local:foo($item as array(*)){ let $f:=$item(1) let $v:=$item(2) return array:for-each($v, function($q){ [$f,$q] }) ?* }; (["f", [1, 2, 3]], ["g", [4, 5]]) ! local:foo(.) On Fri, 13 May 2022 at 11:47, Markus Elfring

Re: [basex-talk] Executing optimized XQuery in RestXQ without having to deal with global lock situations

2022-05-25 Thread Andy Bunce
> a bottleneck shows in the way BaseX handles file access. I wonder if this issue is relevant? https://github.com/BaseXdb/basex/issues/1574 /Andy On Mon, 2 May 2022 at 16:11, Omar Siam wrote: > What I like about BaseX is that it is very good at optimizing > self-contained queries about the

[basex-talk] Lock avoidance using inspect:functions?

2022-05-25 Thread Andy Bunce
Following Omar's message on lock management [1] I thought I would share a technique that I have tried. It makes use of the function inspect:functions [2]. The code below shows two versions of an eval-update function. After running each version the info.result view reports: -

Re: [basex-talk] Lock avoidance using inspect:functions?

2022-06-13 Thread Andy Bunce
Hi Christian, >I’m somewhat sorry this bug is fixed now Me too :) > As we can’t assess at compile time if locking is necessary. I guess there are two compile times at play here, as with xquery-eval. It would be nice to find a way to downgrade locks as well as upgrade them. But easier said than

[basex-talk] xsl:transform-report message truncation

2022-04-29 Thread Andy Bunce
Hi, Using 9.7.1 (: test transform :) let $xslt:=http://www.w3.org/1999/XSL/Transform; version="3.0"> I want to see all of the very long message a a bbb gg gg

Re: [basex-talk] xsl:transform-report message truncation

2022-04-29 Thread Andy Bunce
Ah, yes I see now. I never noticed this before. Looks good now I realise what is happening. /Andy On Fri, 29 Apr 2022 at 19:11, Christian Grün wrote: > Hi Andy, > > It’s the BaseX standard serializer that truncates maps and arrays. > Some more examples: > > [ string-join(1 to 1000) ], > map {

Re: [basex-talk] xslt:transform-report result

2022-05-04 Thread Andy Bunce
ted the documentation. > > On Wed, May 4, 2022 at 3:12 PM Andy Bunce wrote: > >> Hi, >> >> Using BaseX 9.7.1 and saxon9he-9.9.1.jar >> The documentation suggests the ?result from xslt:transform-report should >> be *a* document-node where possible [1] &

Re: [basex-talk] Feature Preview: Caching Module

2022-05-07 Thread Andy Bunce
"There are only two hard things in Computer Science: cache invalidation and naming things." [1] This topic combines the two ;) As for alternative names I offer: the exotic: entrepot, the industrial: kvstore, the bohemian: stash. Personally I think cache is fine. I have sometimes thought of

[basex-talk] xslt:transform-report result

2022-05-04 Thread Andy Bunce
Hi, Using BaseX 9.7.1 and saxon9he-9.9.1.jar The documentation suggests the ?result from xslt:transform-report should be *a* document-node where possible [1] This seems not quite to be the case when there are processing instructions or comments at the top level. In these cases a sequence of

Re: [basex-talk] Feature Preview: Caching Module

2022-05-10 Thread Andy Bunce
t time for BohemiaX. > > Similar to Redis, we could either work with expiry dates or limit the > cache to a maximum number of entries (and drop the ones with the > oldest access time). > > > On Sat, May 7, 2022 at 5:30 PM Andy Bunce wrote: > > > > "There are onl

[basex-talk] Very niche question about BaseX 9.5.1 and java bindings

2022-08-22 Thread Andy Bunce
Hi, I am trying to write a Java property file using v9.5.1 and no new Java code. The code below runs in 9.7.3. Although it only uses 9.5 features in 9.5.1 it produces the error message props:store·java.io.Writer·String cannot be called with (Writer, String). but

Re: [basex-talk] Very niche question about BaseX 9.5.1 and java bindings

2022-08-22 Thread Andy Bunce
Got it I think... props:store·java.io.Writer·*java.lang.String*( Q{java:java.io.FileWriter}new($source), "The saucer has landed") On Mon, 22 Aug 2022 at 15:11, Andy Bunce wrote: > Hi, > > I am trying to write a Java property file using v9.5.1 and no new Java > code.

Re: [basex-talk] xqDoc - potential updates

2022-10-24 Thread Andy Bunce
Hi Loren, >I am looking at maybe doing some updates to the xqDoc spec and the codebase. I have some suggestions for additions to the xqDoc schema: 1. Add optional boolean attribute 'external' to xqDoc:function and xqDoc: variable. I see the main use for this as allowing documentation to show

Re: [basex-talk] BaseX 10 • The Double-Digit Summer Edition

2022-08-03 Thread Andy Bunce
Looks good to me. I like the renamings and I look forward to taking a look at how the locking changes play out One minor issue I have is: in the GUI editor Mouse-down+ drag is not selecting text. This is on Win10 with a trackpad and Java version as below. /Andy IMPLEMENTOR="Eclipse Adoptium"

Re: [basex-talk] Multi-valued values in maps - sequences vs arrays

2022-08-03 Thread Andy Bunce
Hi Bridger, > is even possible; e.g. map{ "key": [1,2,3,4,5] } Well that works fine for me, so yes. For your other examples, I think the answer is that map:merge with map{ "duplicates":"combine"} always generates value *sequences *on duplicate keys. So, maybe, generate the array you want, then

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-05 Thread Andy Bunce
>> >> ...which is well-formed (to rule out non-XML parser issues), and indeed >> has no redirection, which seems consistent with Andy's observation. Yet, >> https://w3.org also is retrieved successfully, which has an initial 301 >> response (instead of 303). >&g

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Andy Bunce
There seems to be a 303 redirect. Maybe this is relevant https://stackoverflow.com/a/66325588/3210344 /Andy [image: image.png] On Thu, 4 Aug 2022 at 16:19, Christian Grün wrote: > What I have assessed so far is that it’s the Java Client that fails to > retrieve the result. It’s the same

[basex-talk] DBA: upload of database backups

2023-01-07 Thread Andy Bunce
Hi, Since around 9.7 the DBA has an option to upload backup zip files. However it appears the backups are uploaded to data/.dba rather than data/ so can not be restored via the DBA UI. Maybe the problem is here [1] /Andy [1]

Re: [basex-talk] Automated testing for XML databases

2023-03-30 Thread Andy Bunce
Hi Shuxin Li, It certainly is very impressive work and I am also keen to know more. I see you have also been working with eXist [1] I assume it builds on "Query Plan Guidance (QPG), a test case generation method with the guidance of query plans."? [2] Best wishes /Andy [1]

Re: [basex-talk] Fwd: FW: java binding passing variables

2023-04-11 Thread Andy Bunce
Hi Burkhard, The thing about the warn argument is that it can be updated by the Java call. So I think you will need to pass in a suitable Java object. For this case I tried an ArrayList import module namespace bdrc = "io.bdrc.ewtsconverter.EwtsConverter"; let $warn:=Q{java.util.ArrayList}new()

Re: [basex-talk] Fwd: FW: java binding passing variables

2023-04-12 Thread Andy Bunce
and your reply really > saved my bacon. > > Thank you ever so much, > > > > Burkhard > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > > *From: *Andy Bunce > *Sent: *11 April 2023 19:54 >

Re: [basex-talk] Whitespaces not preserved in TEI documents.

2023-07-05 Thread Andy Bunce
Hi Christian, You are right about Saxon. The documentation appeared, to me, to suggest the default was preserve, and I didn't check! The documentation is now very clear[1]. "The default is strip, in accordance with Appendix C.1 of the XQuery specification." I have added a few words to the Wiki

Re: [basex-talk] Whitespaces not preserved in TEI documents.

2023-07-05 Thread Andy Bunce
Perhaps this addition would be more findable if moved to the STRIPWS description? /Andy On Wed, 5 Jul 2023 at 16:54, Andy Bunce wrote: > Hi Christian, > > You are right about Saxon. The documentation appeared, to me, to suggest > the default was preserve, and I

[basex-talk] Minor GUI irritation

2023-05-25 Thread Andy Bunce
Hi, In the GUI when viewing an open database with many namespaces via database -> properties->information. The properties window is excessively tall, often larger than the screen height. There seems to be extra blank space below the "Resource Properties" section and perhaps the namespaces section

Re: [basex-talk] Whitespaces not preserved in TEI documents.

2023-06-29 Thread Andy Bunce
Hi Montse, I believe the current behavior is correct. The important feature of your example is that the XML is constructed in the XQuery source. In this case the, somewhat obscure, boundary-space setting applies [1]. This has been discussed on the list [2] Your example works for me if the

Re: [basex-talk] Whitespaces not preserved in TEI documents.

2023-06-30 Thread Andy Bunce
you very much for your quick response. > > > > Regards, > > Montse. > > > > *De:* Andy Bunce > *Enviado el:* jueves, 29 de junio de 2023 12:07 > *Para:* Montserrat Matías > *CC:* basex-talk@mailman.uni-konstanz.de > *Asunto:* Re: [basex-talk] Whitespaces

Re: [basex-talk] GUI feature request: paste into search boxes

2024-01-17 Thread Andy Bunce
Hi Tim, You don't say what OS or version but on Windows it is true the search boxes have no right click context menu, but they do support Ctl-V. /Andy On Wed, 17 Jan 2024 at 17:03, Thompson, Timothy wrote: > Hello, > > > > In the BaseX GUI, it’s not possible (as far as I can tell) to paste

[basex-talk] Debugging XML catalog with BaseX 10.7

2023-11-23 Thread Andy Bunce
Hi, I am following the guide at [1] with the aim of loading some XML with a variety of DTD doctypes. I have a catalog.xml set (which works in another app) and in lib/custom I have - saxon-he-10.9.jar - xmlresolver-5.2.2-data.jar - xmlresolver-5.2.2.jar - xmlresolver.properties It

Re: [basex-talk] RESTXQ oddity?

2024-01-29 Thread Andy Bunce
In addition to Gerrit's comments... This line jumped out as problematic to me. %rest:path('theocom/static/{$dir=.+}/{$file=.+}') The pattern =.+ matches the rest of the path. You only need this once at the end of the path. Maybe just: %rest:path('theocom/static/{$dir}/{$file=.+}') /Andy On

[basex-talk] hof:until qt4cg drops?

2024-02-02 Thread Andy Bunce
I wanted to look up the hof:until[1] syntax in the wiki. It tells me that it has been replaced with fn:iterate-while. Well, I hope, when the dust settles, there is something similar to this in the spec, but it looks like it may not be iterate-while . Today a user of the current BaseX

Re: [basex-talk] hof:until qt4cg drops?

2024-02-03 Thread Andy Bunce
> for a reliable version of the BaseX 10 documentation, we point to the > archived PDF version: > > https://docs.basex.org/wiki/Documentation > > Hope this helps, > Christian > > > Andy Bunce schrieb am Fr., 2. Feb. 2024, 19:25: > >> >> I wanted

[basex-talk] The duration of a cached job

2023-11-20 Thread Andy Bunce
Hi, Back in the winter of 2017, BaseX 8.6 , I reported an issue with job duration [1] A question about jobs:list-details[2] I had expected the attribute duration: evaluation time (for running and cached jobs) to be frozen once the job is cached. Using BaseX 10.7 it seems this issue is back ```

[basex-talk] BaseX 10.7 and util:if

2023-11-20 Thread Andy Bunce
Hi, The documentation for the utility module [1] says certain functions will be removed in version 11 because they will be in XPath 4.0. However, util:if has been removed from the documentation and I think there is no equivalent function in this case. util:if is an alternative syntax for the

Re: [basex-talk] The duration of a cached job

2023-11-22 Thread Andy Bunce
s.basex.org/releases/latest/ > > > On Mon, Nov 20, 2023 at 12:36 PM Andy Bunce wrote: > >> Hi, >> >> Back in the winter of 2017, BaseX 8.6 , I reported an issue with job >> duration [1] >> >> A question about jobs:list-details[2] >> I had

Re: [basex-talk] .xar deployment

2024-04-10 Thread Andy Bunce
Hi Régis, I am pretty sure your issue comes from the SSL certificates available to your Java VM, and is not a problem with your xar package. Running Basex with -d shows more information [2] Something like [1] may fix it for one machine, but it is a slow process and far from ideal. /Andy [1]

Re: [basex-talk] xslt:transform-report result

2024-03-08 Thread Andy Bunce
stian Grün wrote: > I agree it's somewhat unexpected. As we are working on the string result > that is returned by Saxon, it's currently not that easy indeed to decide > how to interpret the character stream. > > > > Andy Bunce schrieb am Mi., 4. Mai 2022, 23:11: > >> O

Re: [basex-talk] hof:until is gone?

2024-03-28 Thread Andy Bunce
hof:until is not gone, it is just hiding [1] - In 10.7 it is there but undocumented in Wiki - In BaseX 11 you need to use XQuery 4 fn:while-do⁺, fn:do-until⁺ [2] Hope this helps /Andy [1] https://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg15596.html [2]

Re: [basex-talk] hof:until is gone?

2024-03-28 Thread Andy Bunce
0/Overview.html#func-do-until > > > > On Thu, Mar 28, 2024 at 5:41 PM Graydon wrote: > >> Hi Andy -- >> >> On Thu, Mar 28, 2024 at 01:06:10PM +, Andy Bunce scripsit: >> > hof:until is not gone, it is just hiding [1] >> > - In 10.7 it is there but

Re: [basex-talk] file:write, formatting, and maps in select attributes

2024-02-24 Thread Andy Bunce
Hi Graydon, >I'm trying to regularize the formatting of some XSLT files I don't think this can or should be done with BaseX serialization. I would use a dedicated formater/ pretty printer. For me the sign of a good formatter is that it tidies random indentation while preserving what looks

Re: [basex-talk] Optimize database never returns, leaves database in "opened by another process" state

2024-02-29 Thread Andy Bunce
Maybe: https://help.basex.org/main/Profiling_Module /Andy On Thu, 29 Feb 2024 at 09:40, Eliot Kimber wrote: > Using the latest build, 11.0 beta 17d8426, the prof:dump() function is > reported as an unknown function. > > > > What replaces it (or where can I find the V11 docs)? > > > > Thanks, >

<    1   2   3