This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6621 - Definition of "vacuous expression"
Summary: Definition of "vacuous expression"
Status: RESOLVED FIXED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 18:10 UTC by Michael Kay
Modified: 2009-02-24 18:10 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2009-02-24 18:10:35 UTC
In  http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2009Feb/0018.html (member only) Zhen raised questions about the definition of "vacuous expression". The WG agreed to improve the definition; this bugzilla entry is being raised posthumously to capture the decision.

The definition will be changed to:

[Definition: Certain expressions are defined in this specification to be "vacuous expresions". These all have the characteristic that they can be determined statically to either return an empty sequence or raise an error.]
Some expressions are always vacuous; for instance, an empty parenthesized expression ( ) is a vacuous expression. Other expressions may be vacuous if one of their operands is vacuous; for instance, if both branches of a conditional expression are vacuous, the conditional expression is a vacuous expression.