Project

Profile

Help

cast as reports incorrectly FORG0001

Added by Anonymous almost 18 years ago

Legacy ID: #4127399 Legacy Poster: marcvc (marcvc)

Michael, this was brough to my attention by XQTS xs:double("INF") cast as xs:decimal With Saxon8.8 (genuine version) this results in FORG001 where FOCA0002 is expected accoring to "F&O - 17.1.3.3 Casting to xs:decimal" (http://www.w3.org/TR/xquery-operators/#casting-to-numerics) Thanks, Marc


Replies (1)

RE: cast as reports incorrectly FORG0001 - Added by Anonymous almost 18 years ago

Legacy ID: #4127427 Legacy Poster: Michael Kay (mhkay)

Thanks, will fix. There are quite a few cases where Saxon error codes differ from those published, I'm not generally treating this as a conformance issue though I'm improving it where it's not difficult. There are also many cases where the specs aren't completely consistent, for example section 5.1 says: If the value passed to a constructor is illegal for the datatype to be constructed, an error is raised [err:FORG0001].

    (1-1/1)

    Please register to reply