This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
On the 2006-01-10 joint telcon, the WGs agreed to make the suggested change.