Menu

#217 Casting integer to long is a no-op

v7.9.1
closed
5
2012-10-08
2004-05-28
Michael Kay
No

When an xs:integer is converted to an xs:long (using
either a cast or the xs:long() constructor function),
the original value is returned unchanged.

Source code fixed.

Circumvention: use xs:long(string($int))

Discussion