Re: [basex-talk] PHP Client Session Object: infinite loop in read method when bpos is null

2023-07-05 Thread Tamara Marnell
Follow up 6 months later: The same pattern happened again yesterday. The error log blew up to 6 GB with the repeated PHP notice, and the production server stopped responding. This time I could see in the logs that what triggered the event was a heap error, which caused BaseX to stop when it was

Re: [basex-talk] Determining if a node is a database node

2023-07-05 Thread Eliot Kimber
Thanks for the tip. A db:is-node() function would be most handy. In my case, I’m using transform with to augment content pulled from the database before doing processing that will vary depending on whether I have a database node (i.e., getting its node ID or database path) or I don’t. Of

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 didn't check! > The

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] Possible bug in the interaction between db:attribute(), data() and Sequences.

2023-07-05 Thread Andreas Hengsbach | nexoma
Hi Christian, works like a charm. Thanks for the quick fix. Andreas