Hi Xavier,
yes, there is a bug in Tamino 4.1.4.4 concerning atomization,
i.e. the following query:
declare namespace xs = “XML Schema”
let $list := ({xs:float(“1.2”)},{xs:float(“1.3”)})
return sum($list)
should work but throws 6301 as you mentioned.
There are two possible workarounds. First, upgrade to Tamino
4.2 where this is fixed, or use xs:float() to convert.
The following works in both Tamino versions:
declare namespace xs = “XML Schema”
let $list := ({xs:float(“1.2”)},{xs:float(“1.3”)})
return sum(for $x in $list return xs:float($x))
Regards,
Juliane.
#webMethods#Tamino#API-Management