[xquery-talk] flowrrr - how to structure a function?
Robert Koberg
rob at koberg.com
Tue Oct 17 09:09:28 PDT 2006
Robert Koberg wrote:
> Peter wrote:
>> So theoretically an XQuery engine might choose to first evaluate
>> session:set-attribute($project-key,
>> $group-name),response:redirect-to(xs:anyURI("./project/"))
>>
>> before it evaluates the other function calls in the deepest return.
>
> hmmm... if I understand correctly, that would suck. I suppose it would
> be implementation dependent (I am using eXist), but I would hope that it
> would be in order so a redirect would happen after the session variables
> are set - or do the redirect but still set the session variables ??
>
> I will ask on the eXist list what can be expected.
FYI. I asked on the eXist list and Wolfgang Meier responded with:
"No. The functions will be evaluated in the same order as they are
added to the sequence. No problem here."
best,
-Rob
More information about the talk
mailing list