import module namespace math="http://www.zorba-xquery.com/modules/math"; math:percentrank((), 2) (: Output: Error [ZXQP0021] Percentrank function: value list must not be empty :)