Re: [basex-talk] basexhttpstop hangs in 8.6.1

2017-02-27 Thread Christian GrĂ¼n
Hi Marco, Could you please report back to us what exactly is output on the two shells? Ideally, please run both commands with the -d flag. Thanks in advance, Christian PS: Does it work with 8.6, 8.5.3 or older versions? > I just downloaded Basex861.zip for Linux (Ubuntu 16.04 the host). > > U

Re: [basex-talk] Exit a for-loop?

2017-02-27 Thread Marc van Grootel
Hi Joseph, Maybe hof:until [1] and hof:take-while [2]? [1] http://docs.basex.org/wiki/Higher-Order_Functions_Module#hof:until [2] http://docs.basex.org/wiki/Higher-Order_Functions_Module#hof:take-while --Marc > On 27 feb. 2017, at 19:25, Dirk Kirsten wrote: > > Hello Joseph, > > to be hone

Re: [basex-talk] Exit a for-loop?

2017-02-27 Thread Dirk Kirsten
Hello Joseph, to be honest, this doesn't sound particularly like functional programming. The nice thing about functional programming is that you shouldn't care about such optimization stuff (like breaking out of a for loop), but instead our optimizer should be clever enough to stop executing the f

[basex-talk] Exit a for-loop?

2017-02-27 Thread Joseph
Hi, I have two sets of numbers, and I would like to write a for-loop for comparison, so that I get only the first match between the numbers. I was thinking of a double for-loop, but I do not know how to exit the comparison as soon as I get the first match. Any idea? Thanks. Joseph

[basex-talk] Multipart form-data submissions from RESTXQ

2017-02-27 Thread Tim Thompson
Hello, I have been agonizing over a problem with a service I'm trying to call from RESTXQ. The service (www.tei-c.org/oxgarage/) only accepts multipart/form-data submissions. It provides a front-end client for uploading files from the browser, which calls a back-end RESTful service to do document