#264 Numeric promotion sometimes failing

v8.1.1
closed
5
2012-10-08
2004-11-19
Michael Kay
No

It is possible to get a type error saying that the
expected type was xs:double and the actual value was
(say) xs:decimal. This should not happen - numeric
promotion should occur to convert the decimal to a
double. However, the promotion code is generated only
when the type of the actual value is known statically
to be numeric, or if it is untypedAtomic. It is not
generated, for example, if the static type is "any
atomic value".

Test case: func38

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks