Change id: fn-function-name
Implementations | |||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fn-function-name-001[+]
X fn-function-name-001: fn:function-name() |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-002[+]
X fn-function-name-002: fn:function-name#0 |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-003[+]
X fn-function-name-003: fn:function-name( fn:dateTime#2, fn:dateTime#2 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-004[+]
X fn-function-name-004: fn:function-name#2 |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-005[+]
X fn-function-name-005: exists(fn:function-name#1) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-006[+]
X fn-function-name-006: fn:function-name( () ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-007[+]
X fn-function-name-007: fn:function-name( 1 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-008[+]
X fn-function-name-008: fn:function-name( fn:analyze-string((), "unused") ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-009[+]
X fn-function-name-009: fn:function-name( (fn:dateTime#2, fn:dateTime#2) ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-010[+]
X fn-function-name-010: fn:function-name( if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then fn:dateTime#2 else 1 ) |
no result | n/a | n/a
Dependency not satisfied |
n/a
notXP20 |
n/a
notXQ10 |
n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. Dependency (type=feature, value=staticTyping, satisfied=true) was not met. |
n/a
Dependency (type=feature, value=staticTyping, satisfied=true) was not met. |
fn-function-name-011[+]
X fn-function-name-011: ( fn:function-name( if (current-date() eq xs:date('1900-01-01')) then fn:dateTime#2 else 1 ), fn:function-name( if (current-date() eq xs:date('1900-01-01')) then 1 else fn:dateTime#2 ) ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-012[+]
X fn-function-name-012: fn:function-name( fn:substring#2 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-013[+]
X fn-function-name-013: fn:function-name( fn:substring(?, 1) ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-014[+]
X fn-function-name-014: fn:function-name( function($node){count($node/*)} ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-015[+]
X fn-function-name-015: fn:function-name( dateTime#2 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-016[+]
X fn-function-name-016: fn:function-name( math:pow#2 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-017[+]
X fn-function-name-017: fn:function-name( concat#99 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-018[+]
X fn-function-name-018: fn:function-name( concat#340282366920938463463374607431768211456 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
wrongError
'Assert-any-of' returned: Expected error: FOAR0002. Found error: XPST0017 'assert-eq' returned: result doesn't match expected result. |
fn-function-name-019[+]
X fn-function-name-019: fn:function-name( function($node){name($node)} ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-020[+]
X fn-function-name-020: fn:function-name( function($arg1, $arg2) { subsequence($arg1, $arg2, 1) } ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-021[+]
X fn-function-name-021: let $initial := fn:substring(?, 1, 1) return fn:function-name( $initial ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-022[+]
X fn-function-name-022: declare function local:add($arg1, $arg2, $arg3) { $arg1 + $arg2 + $arg3 }; fn:function-name( local:add#3 ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-023[+]
X fn-function-name-023: declare function local:add($arg1, $arg2, $arg3) { $arg1 + $arg2 + $arg3 }; fn:function-name( local:add(1, 2, ?) ) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
fn-function-name-024[+]
X fn-function-name-024: declare function local:coerce($arg as function(item()*) as item()*) as function(item()*) as item()* { $arg }; let $coerced := local:coerce(fn:abs#1) return if ($coerced instance of function(item()*) as item()*) then fn:function-name( local:coerce(fn:abs#1) ) else "error" |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
hof-022[+]
X hof-022: declare function local:scramble($x as function(xs:string) as xs:string, $y as xs:string) as xs:string { $x($y) }; let $n := function-name(local:scramble#2) return (local-name-from-QName($n), namespace-uri-from-QName($n), function-arity(local:scramble#2)) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
hof-023[+]
X hof-023: let $f := fn:function-name#1, $n := function-name($f) return (local-name-from-QName($n), namespace-uri-from-QName($n), function-arity($f)) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
hof-024[+]
X hof-024: let $f := xs:dateTime#1, $n := function-name($f) return (local-name-from-QName($n), namespace-uri-from-QName($n), function-arity($f)) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
hof-025[+]
X hof-025: let $f := concat#123456, $n := function-name($f) return (local-name-from-QName($n), namespace-uri-from-QName($n), function-arity($f)) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
hof-026[+]
X hof-026: let $f := function($x as xs:string) as xs:string { upper-case($x) } let $n := function-name($f) return <a loc="{local-name-from-QName($n)}" uri="{namespace-uri-from-QName($n)}" arity="{function-arity($f)}" eloc="{empty(local-name-from-QName($n))}" euri="{empty(namespace-uri-from-QName($n))}"/> |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
hof-033[+]
X hof-033: local-name-from-QName(function-name((upper-case#1, lower-case#1)[.("Mike") = "MIKE"])) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
function-item-8[+]
X function-item-8: function-name(function-name#1) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
function-item-9[+]
X function-item-9: function-name(let $a := 92, $b := true() return function($c) { $a, $b, $c }) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |