[basex-talk] collection() returns error in Basex 10.5

2023-04-07 Thread Buddy Kresge
In BaseX 10.5 GUI, I open up a database and issue the following command: collection() It returns with the following error: [FODC0002] No default collection available. However, when I do the exact same thing in BaseX 9.7, it returns information as expected. Has something changed in the use

Re: [basex-talk] Way to Dynamically import a module?

2022-03-14 Thread Buddy Kresge
Thank you! Follow up (strange) question. Is there the ability to "unload" a module dynamically? Buddy -Original Message- From: Christian Grün Sent: Sunday, March 13, 2022 4:50 PM To: Buddy Kresge Cc: BaseX Subject: Re: [basex-talk] Way to Dynamically import a module?

[basex-talk] Way to Dynamically import a module?

2022-03-13 Thread Buddy Kresge
I was wondering if in BaseX there is a way at run time to import a .xqm module, outside of the traditional "import module" statement. Thanks in advance for any guidance you can provide. Buddy

[basex-talk] HashMap insertion bug - node ID is different on get than on put

2020-06-04 Thread Buddy Kresge
This can be reproduced in 9.2.4 and 9.3.3 (only tried those 2 versions) We are using java:HashMap, and we are seeing that when we insert a node into the HashMap from a file and do a subsequent hash:get, the generate-id() for the hash:get is different than the original generate-id value from the

[basex-talk] Runtime load of a module?

2020-05-17 Thread Buddy Kresge
We have a situation where we have certain XQuery modules and we want to know if there is a way to load a module into BaseX at Run-time? As a hypothetical example If (some condition) Load module X into Basex else Load module Y into Basex

Re: [basex-talk] Stack overflow instead of syntax error

2019-09-11 Thread Buddy Kresge
Sorry for that - with was actually a definition stored in a map. I will get a SSCCE together for you. Buddy -Original Message- From: Christian Grün Sent: Wednesday, September 11, 2019 4:24 AM To: Buddy Kresge Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Stack

[basex-talk] Stack overflow instead of syntax error

2019-09-10 Thread Buddy Kresge
We have some code generation and it produced a syntax error. However, running 9.2.4 in production, the server gave a stack overflow tail recursion instead of "Cannot convert xs:integer to xs:date: 1970." (like the GUI did). Here was the error reported: java.lang.RuntimeException:

Re: [basex-talk] BaseX GUI just spins?

2019-08-21 Thread Buddy Kresge
Ha!! Thanks  Buddy Kresge buddy.kre...@known2u.com o: 860-800-6677 ext: 501 c: 860-986-4830 -Original Message- From: BaseX-Talk On Behalf Of Imsieke, Gerrit, le-tex Sent: Wednesday, August 21, 2019 7:51 AM To: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] BaseX GUI

Re: [basex-talk] BaseX GUI just spins?

2019-08-21 Thread Buddy Kresge
Thanks for these ideas and will try these. As far as #4, what is ‘SSCCE’ – sorry in advance for the not recognizing (ha ha). Buddy Kresge buddy.kre...@known2u.com<mailto:buddy.kre...@known2u.com> o: 860-800-6677 ext: 501 c: 860-986-4830 From: Christian Grün Sent: Wednesday, August 21

Re: [basex-talk] BaseX GUI just spins?

2019-08-20 Thread Buddy Kresge
why this would be happening (meaning, if I'm doing something wrong - but I do not believe I am). Buddy Kresge buddy.kre...@known2u.com<mailto:buddy.kre...@known2u.com> o: 860-800-6677 ext: 501 c: 860-986-4830 From: Buddy Kresge Sent: Monday, August 19, 2019 8:15 AM To: BaseX Subject: Bas

[basex-talk] BaseX GUI just spins?

2019-08-19 Thread Buddy Kresge
I have a situation that I don't know if others are experiencing - but it has happened quite a bit over the last week with 9.2.4 I have the below function. declare function base:employeeIdMostRecentInstancesBetweenMap ($rangeBeginDate as xs:date, $rangeEndDate as xs:date, $employee as

[basex-talk] Declaring namespaces in xquery:eval call

2019-08-09 Thread Buddy Kresge
m/xml/xmlns.htm), but am still having no luck Can you help me with what the map should look like given the following attempt: like xquery:eval("some:function()", map { ? } ) Thanks in advance. Buddy Kresge

[basex-talk] Bug in 9.2.3??

2019-07-17 Thread Buddy Kresge
The below code works fine in 9.2.2 (and any version before), but when we execute the below in 9.2.3 we get the following error. Thanks in advance for your assistance. Cannot convert element() to xs:string?: $status := Active 0) then contains($status, 'Active') else false() }; let

Re: [basex-talk] Improper Use? Potential bug?

2019-06-04 Thread Buddy Kresge
Do you want me to share the entire stack trace? Or what is the best way to get you the information you need? Buddy Kresge buddy.kre...@known2u.com<mailto:buddy.kre...@known2u.com> o: 860-800-6677 ext: 501 c: 860-986-4830 From: Michael Seiferle Sent: Tuesday, June 4, 2019 6:15 AM To:

[basex-talk] Improper Use? Potential bug?

2019-06-03 Thread Buddy Kresge
I am all of a sudden getting the below error (and things were working just fine - weird). Works fine in 9.1.2 but not in 9.2.X. Any guidance would be greatly appreciated. Note: I tried to send you an email with the full stack trace, but the moderator rejected it because the email was too