This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In the specification, "XQuery 1.0: An XML Query Language" section 3.9 Ordered and Unordered Expressions, it specifies the ordering mode (wrt document order) for enclosed expressions. I would like to propose that the semantics be extended to control the processing order of the enclosed scope. Besides updating of nodes, there can be other external functions with side-effects (eg. reading from a file), it will be desirable that the user can control the processing order of the expressions, being ordered or unordered, so as to make the behaviour of updates and calling of functions with side-effects predictable.
This requirement has been accepted as part of the Scripting Extensions.