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

2022-05-04 Thread Christian Grün
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: > Ok thanks. I thought this might have been unintended

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

2022-05-04 Thread Andy Bunce
Ok thanks. I thought this might have been unintended behavior. if($report?result instance of document-node()+) then document{$report?result} else $report?result seems to give me what I expected here. /Andy On Wed, 4 May 2022 at 16:58, Christian Grün wrote: > Thanks, Andy, I’ve updated the

Re: [basex-talk] Not sure if feature/bug/my mistake!

2022-05-04 Thread Graydon
On Wed, May 04, 2022 at 04:29:04PM -0400, Patrick Durusau scripsit: > You know, the files don't have internal sort attributes. ntorder = "digit" > would be enough to sort on that attribute and return the book names in the > expected order. > > I'm sure there are better solutions, suggestions

[basex-talk] Not sure if feature/bug/my mistake!

2022-05-04 Thread Patrick Durusau
Greetings! I have a directory of files that I use to create a database, using the directory as my starting point. On Debian, the files appear in this order: 01-matthew.xml 02-mark.xml 03-luke.xml 04-john.xml If I create an empty database and then add the files one by one, in that order,

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

2022-05-04 Thread Christian Grün
Thanks, Andy, I’ve updated 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] > This seems not quite to be the

Re: [basex-talk] Session issue

2022-05-04 Thread Bondeson, Carl
Thanks. We had already implemented the registry fix. We will look to implement use try with resources. Carl R Bondeson IT Analyst 3 Department of Public Health Operation & Support Services Information Technology Phone: 860-509-7434 carl.bonde...@ct.gov

Re: [basex-talk] Session issue

2022-05-04 Thread Christian Grün
Hi Carl, Maybe you’ve seen that the ClientSession class implements the Closeable interface, so it’s generally advisable to use a try-with-resources statement when creating new instances. If that doesn’t help, you could tweak your registry settings, as e.g. suggested in [1]. Best, Christian [1]

[basex-talk] Session issue

2022-05-04 Thread Bondeson, Carl
We are seeing the following exception if we run under very heavy multi-thread conditions. ERROR] 2022-05-04 08:49:41.345 [Thread-3012] - General Throwable occurred message: No buffer space available (maximum connections reached?): connect Caused by this // create BaseX session

[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