This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The non-normative summary of the casting rules found in XPath 3.14.2 and XQuery 3.18.3 is inaccurate. For example, it omits to mention that casting a value S to a type T is possible if T is a union type and S is an instance of a member type of T, or if it is castable to a member type of T.
Fixed in the internal WD by deleting the non-normative summary and referring only to the normative description in F&O.