…the issue has been resolved, as confirmed by Vincenzo (thanks for the reply).
On Fri, Apr 8, 2016 at 3:09 PM, Christian Grün christian.gruen@gmail.com wrote:
Please provide me with some code that allows me to reproduce the problem. I have run your RESTXQ sample with the latest snapshot and 8.4.2, and this is what I get:
__ latest snapshot ___
curl "http://localhost:8984/myapi/1 <result>1</result>
curl "http://localhost:8984/myapi/3 <result>6</result>
curl "http://localhost:8984/myapi/300000"
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 400 Stopped at F:/webapp/x.xq, 11/10: [bxerr:BASX0005] Stack Overflow: Try tail recursion?</title> </head> ...
___ 8.4.2 ___
curl "http://localhost:8984/myapi/1 <result>1</result>
curl "http://localhost:8984/myapi/3 <result>6</result>
curl "http://localhost:8984/myapi/300000"
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 400 Stopped at C:/Users/user/Desktop/basex/webapp/x.xq, 11/10: [bxerr:BASX0005] Stack Overflow: Try tail recursion?</title> </head> ...