blob: 23cad06af256f0170e1871699727f2e8667bf7c0 [file] [log] [blame]
(: Name: fn-max-3:)
(: Description: Evaluation of type promotion when using mixed typed with fn:max function:)
(: Uses drived types promoted to least common type. :)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
let $var := fn:max((xs:long(20),xs:short(13)))
return $var instance of xs:integer