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 5670 - [FS] Normalization of Where Clause is missing fn:boolean()
Summary: [FS] Normalization of Where Clause is missing fn:boolean()
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Michael Dyck
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 22:13 UTC by Michael Dyck
Modified: 2008-08-19 23:36 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2008-04-29 22:13:25 UTC
4.8.1 FLWOR expressions / Normalization / rule 3
(Normalization of a Where Clause)

In the right-hand side, 
    if ( [[Expr1]]_Expr ) ...
should be
    if ( fn:boolean(( [[Expr1]]_Expr )) ) ...
to compute the Effective Boolean Value of the where-expression, as specified in XQuery 3.8.2 Where Clause.
Comment 1 Michael Dyck 2008-05-13 20:01:03 UTC
At their meeting today, the WGs accepted the proposed change, so I am marking this issue resolved-fixed. Since I was the original submitter, I will also close it.
Comment 2 Michael Dyck 2008-08-19 23:36:33 UTC
This issue has been entered as FS erratum E028, and its fix has been
committed to the source files for the next edition of the FS document.