This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
CastAs180, CastAs213, CastAs217 and CastAs218 try to convert INF or NaN floating point values into decimal or integer types, and expect FORG0001 as an error. But the spec have a specific error for this case, "If SV is one of the special xs:float or xs:double values NaN, INF, or -INF, an error is raised [err:FOCA0002]", so I think the catalog should use FOCA0002, or at least list it as another possible error.
Changed error code to FOCA0002 for CastAs180, CastAs213, CastAs217 and CastAs218. thanks.