Given the expression (E castable as T), if the static type of E is a derived atomic type (for example xs:positiveInteger) then the result of the expression is always given as false.
A patch is being placed in Subversion. Affects net.sf.saxon.expr.Castable
Michael Kay
2007-11-04
Logged In: YES
user_id=251681
Originator: YES
Fixed in 9.0.0.1