[Bug 5332] [UPD] Parentheses around () or fn:error()

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5332





------- Comment #4 from mike@saxonica.com  2008-01-07 12:40 -------
I think a possible (and relatively simple) fix would be to change the places
where we refer to "the expression () or fn:error()" by a term such as "an
ineffective expression", and define "ineffective" to mean "the expression (),
or fn:error(), or any non-updating expression that the processor is statically
able to determine will always either return an empty sequence or fail with a
dynamic error".

We could attempt to define some additional kinds of ineffective expressions
that processors are obliged to recognize as such, for the sake of
interoperability.

Received on Monday, 7 January 2008 12:40:09 UTC