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 2559 - Conflicting error codes: FORG0006 vs XPTY0004
Summary: Conflicting error codes: FORG0006 vs XPTY0004
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 01:36 UTC by Don Chamberlin
Modified: 2006-11-16 18:49 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2005-11-30 01:36:43 UTC
F&O Section 17, paragraph 2 says that () cast as xs:int raises FORG0006.

XQuery Section 3.12.3, rule 3b says that () cast as xs:int raises XPTY0004.

These can't both be right. Since no function is involved, I prefer XPTY0004.
Comment 1 Ashok Malhotra 2006-01-10 21:27:47 UTC
On the 2006-01-10 joint telcon, the WGs agreed to make the suggested change.