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 christian.gruen@gmail.com Sent: Wednesday, September 11, 2019 4:24 AM To: Buddy Kresge buddy.kresge@known2u.com Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Stack overflow instead of syntax error
Hi Buddy,
Here is the snippet of code that originally cause the ‘stack overflow’. The issue is the date is not in quotes.
function($endDate as xs:date?) as xs:Boolean
There are various syntactical bugs in your example: The "declare" is missing, as well as the function name, and it must be "xs:boolean".
Once again, please provide us with an SSCCE ;) …otherwise, I am sorry we cannot give any helpful advice.
Thanks Christian