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 3798 - [UPD] Test expression in conditional expression cannot be an updating expression
Summary: [UPD] Test expression in conditional expression cannot be an updating expression
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-04 22:51 UTC by Ronald Bourret
Modified: 2007-01-31 04:58 UTC (History)
0 users

See Also:


Attachments

Description Ronald Bourret 2006-10-04 22:51:36 UTC
I assume that the test expression in a conditional expression cannot be an updating expression. This would be parallel to not allowing the operand expression in a typeswitch expression to be an updating expression. This is not explicitly stated in section 2.4.3, Conditional Expression.
Comment 1 Don Chamberlin 2007-01-30 22:26:21 UTC
Ron,
Thanks. You are right. The working group will correct this oversight in the next version of the XQuery update specification.
Regards,
Don Chamberlin (for the Query Working Group)