ClassCastEx comparing string and integer
The Saxon XSLT and XQuery processor, developed by Saxonica
Brought to you by:
mhkay
A ClassCastException occurs when comparing two types
that are not comparable according the the XPath
specification, using an operator such as "=". For
example, when comparing string and integer.
(Note, this comparison should be allowed in XPath
backwards compatibility mode, but it isn't allowed in
Saxon 7.4)
test case added: error232