|
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-serialize-json | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/15 |
fn-serialize-json-001[+]
X fn-serialize-json-001: serialize-json(map{}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-002[+]
X fn-serialize-json-002: serialize-json((), map{"spec":="ECMA-262"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-003[+]
X fn-serialize-json-003: serialize-json(12.5, map{"spec":="ECMA-262"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-004[+]
X fn-serialize-json-004: normalize-space(serialize-json(true(), map{"spec":="ECMA-262"})) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-005[+]
X fn-serialize-json-005: normalize-space(serialize-json(false(), map{"spec":="ECMA-262"})) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-006[+]
X fn-serialize-json-006: serialize-json(map{'abc':=23}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-007[+]
X fn-serialize-json-007: let $r := serialize-json(map{'abc':=23, 'xyz':=49}, map{"spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-008[+]
X fn-serialize-json-008: let $r := serialize-json(parse-json('[1, 2, 3, "four", true, false, null]'), map{"spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-009[+]
X fn-serialize-json-009: let $r := serialize-json((1, 2, 3, "four", true(), false()), map{"spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-010[+]
X fn-serialize-json-010: let $r := serialize-json(parse-json('[[1, 2], [3, 4], [5, 6], [7], [], [null]]')) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-011[+]
X fn-serialize-json-011: let $r := serialize-json(map{"abc":=(1 to 10)}, map{"spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-012[+]
X fn-serialize-json-012: let $r := serialize-json((map{"abc":=1},map{"def":=2},map{"ghi":=3})) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-013[+]
X fn-serialize-json-013: let $r := serialize-json((map{"abc":=map{"abc":=1}},map{"def":=map{"def":=2}},map{"ghi":=map{"ghi":=3}}), map{"spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-014[+]
X fn-serialize-json-014: let $r := serialize-json('𝄞', map{"spec":="ECMA-262"}) return translate(normalize-space($r), 'abcdef', 'ABCDEF') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-015[+]
X fn-serialize-json-015: let $r := serialize-json(' ', map{"spec":="ECMA-262"}) return translate(normalize-space($r), 'abcdef', 'ABCDEF') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-016[+]
X fn-serialize-json-016: serialize-json((map{"abc":=map{"abc":=1}},map{"def":=map{"def":=2}},map{"ghi":=map{"ghi":=3}}), map{"indent":=false()}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-017[+]
X fn-serialize-json-017: let $r := serialize-json((map{"abc":=map{"abc":=1}},map{"def":=map{"def":=2}},map{"ghi":=map{"ghi":=3}}), map{"indent":=true(), "spec":="RFC4627"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-018[+]
X fn-serialize-json-018: parse-json(serialize-json(12.34, map{"spec":="ECMA-262"}), map{"spec":="ECMA-262"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-019[+]
X fn-serialize-json-019: parse-json(serialize-json(12.34e-30, map{"spec":="ECMA-262"}), map{"spec":="ECMA-262"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-020[+]
X fn-serialize-json-020: serialize-json("abc""def", map{"spec":="ECMA-262","escape":=true()}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-021[+]
X fn-serialize-json-021: serialize-json("abc\\def", map{"spec":="ECMA-262","escape":=false()}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-022[+]
X fn-serialize-json-022: let $r := serialize-json((number('NaN'), number('INF'), number('-INF'))) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-023[+]
X fn-serialize-json-023: let $r := serialize-json((0,0,xs:untypedAtomic("abcd"))) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-024[+]
X fn-serialize-json-024: let $r := serialize-json(map{1:="a",2:="b",4:="d",10:="j",7:="g"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-100[+]
X fn-serialize-json-100: let $r := serialize-json((0,0,xs:date('2011-04-06')), map{"fallback":=function($v){string($v)}}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-101[+]
X fn-serialize-json-101: let $r := serialize-json(map{"a":=xs:date('2011-04-06')}, map{"fallback":=function($v){string($v)}}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-102[+]
X fn-serialize-json-102: let $r := serialize-json(map{"a":=doc($uri)}, map{"fallback":=function($v){serialize($v)}}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-103[+]
X fn-serialize-json-103: let $r := serialize-json((0,0,map{true():="gogogo"}), map{"fallback":=function($v){if ($v instance of map(xs:boolean, item()*)) then "a-boolean-map" else $v}}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-104[+]
X fn-serialize-json-104: let $r := serialize-json((0,0,map{false():=map{false():="ok"}}), map{"fallback":=function($v){ if ($v instance of map(xs:boolean, item()*)) then map:new(for $k in map:keys($v) return map:entry(string($k), map:get($v, $k))) else $v}}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-901[+]
X fn-serialize-json-901: serialize-json("abcd", map{"spec":="RFC4627"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-902[+]
X fn-serialize-json-902: serialize-json(true(), map{"spec":="RFC4627"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-903[+]
X fn-serialize-json-903: serialize-json((), map{"spec":="RFC4627"}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-904[+]
X fn-serialize-json-904: serialize-json((0,0,xs:date('2011-04-06'))) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-905[+]
X fn-serialize-json-905: serialize-json(map{"uri":=xs:anyURI('http://www.w3.org/')}) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-906[+]
X fn-serialize-json-906: serialize-json((1,2,3),map:entry("indent",23)) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-907[+]
X fn-serialize-json-907: serialize-json((1,2,3),map:entry("indent","true")) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-908[+]
X fn-serialize-json-908: serialize-json((1,2,3),map:entry("indent",(true(),false()))) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-909[+]
X fn-serialize-json-909: let $r := serialize-json(map{1:="a",2:="b",4:="d",10:="j",7:="g",-1:="$$$"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-910[+]
X fn-serialize-json-910: let $r := serialize-json(map{1:="a",2:="b",4:="d",10:="j",7:="g",0:="$$$"}) return translate($r,' ', '') |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
|
fn-serialize-json-911[+]
X fn-serialize-json-911: serialize-json((1,2,3),map:entry("escape",map{})) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XT30+, satisfied=true) was not met. |