FORG0001
An invalid value was passed to a type constructor or a cast expression. It might be invalid because it is too large or too small, or because it does not have the correct lexical form or it does not follow the validity rules for the target datatype. This can happen in several situations:
When passing an invalid value to a type constructor, for example
xs:integer("abc")
When passing an invalid value to a cast expression, for example
"2006-13-32" cast as xs:date
When passing an untyped value to one of the
sum
,min
,max
, oravg
functions and that value cannot be cast toxs:double
Get XQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.