Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Josselin Morvan
That was the error message I had 2 years ago “submission-in-progress“, and then I switched to my "while loop" and modified my submission routine to avoid this issue. I also checked my message element and it seems to be in the good place, in my I have : error: error-type:

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
On Thursday 04 February 2021 15:34:27 (+01:00), Josselin Morvan wrote: Hi Steven, Thank you very much for your answer. I don't know why I didn’t think of it before, as I use this method with another form… but not for a loop. It’s simple and efficient! Just for my personal understanding,

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
I added a test case to the XForms test suite to test for this case, and indeed XSLTForms incorrectly returns "submission-in-progress" if you do a in the handler for submit-done (apparently you put the message element in the wrong place). Steven On Thursday 04 February 2021 23:42:37 (+01:00),

Re: [Xsltforms-support] Cancelling loop/action

2021-02-05 Thread Steven Pemberton
Although submissions are by default asynchronous, a submission element may only be activated once at a time. I'm surprised that all the event values are empty; they really shouldn't be for an xforms-submit-error event. There is a difference in semantics between a dispatch with and without a del