This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In bug 1489, we decided that casting from a string to a numeric type is treated as an overflow/underflow (e.g., FOAR0002, "Numeric operation overflow/underflow") if the resulting value is too big/small. But in casting from a string to a date/time/duration it is also possible that the value is too big/small to represent. The current F&O spec treats this as FORG0001, "Invalid value for cast/constructor". For consistency, should we change the error code for this condition to FODT0001 ("Overflow in date/time arithmetic") or FODT0002 ("Overflow in duration arithmetic")?
The WGs decided on 9/27 to fix this bug by adopting Don Chamberlin's recommendation: "...in casting from a string to a date/time/duration it is also possible that the value is too big/small to represent. The current F&O spec treats this as FORG0001, "Invalid value for cast/constructor". For consistency, should we change the error code for this condition to FODT0001 ("Overflow in date/time arithmetic") or FODT0002 ("Overflow in duration arithmetic")?"