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

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





--- Comment #19 from Jonathan Robie <jonathan.robie@redhat.com>  2009-04-28 12:38:11 ---
How about this definition, which is more explicit:

<snip>
The following expressions are defined by this specification to be "vacuous
expressions": 

* An empty parenthesized expression ( ) is a vacuous expression. 
* A call to the built-in function fn:error is a vacuous expression.
* If all branches are vacuous expressions, the typeswitch expression is a
vacuous expression.
* If both branches are vacuous expressions, the conditional expression is a
vacuous expression.
* If all operands are vacuous expressions, the comma expression is a vacuous
expression.

These expressions can be determined statically to always return an empty
sequence or raise an error.
</snip>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 28 April 2009 12:38:21 UTC