|
Implementations | |||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|
fn-doc | 45/45 | 38/39 | 44/45 | 39/39 | 45/45 | 45/38 | 0/6 |
fn-doc-1[+]
X fn-doc-1: Created on: 2005-11-30 Spec Dependencies: Test: fn:doc("http:\\invalid>URI\someURI") |
pass | pass | wrongError
Expected error:FODC0005, got null |
pass | pass | pass | |
fn-doc-2[+]
X fn-doc-2: Created on: 2005-11-30 Spec Dependencies: Test: fn:doc("argument1","argument2") |
pass | pass | pass | pass | pass | pass | |
fn-doc-3[+]
X fn-doc-3: Created on: 2005-12-02 Spec Dependencies: Test: fn:doc("thisfileshouldnotexists.xml") |
pass | pass | pass | pass | pass | pass | |
fn-doc-4[+]
X fn-doc-4: Created on: 2006-01-25 Spec Dependencies: Test: fn:doc(()) |
pass | pass | pass | pass | pass | pass | |
fn-doc-5[+]
X fn-doc-5: Created on: 2006-01-25 Spec Dependencies: Test: fn:doc($uri) is fn:doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-6[+]
X fn-doc-6: Created on: 2006-01-25 Spec Dependencies: Test: fn:doc($works) is fn:doc($staff) |
pass | pass | pass | pass | pass | pass | |
fn-doc-7[+]
X fn-doc-7: Created on: 2006-01-25 Spec Dependencies: Test: fn:doc($uri)//day/string() |
pass | pass | pass | pass | pass | pass | |
fn-doc-15[+]
X fn-doc-15: Created on: 2006-01-25 Spec Dependencies: Test: fn:count(fn:nilled(fn:doc($uri))) |
pass | pass | pass | pass | pass | pass | |
fn-doc-16[+]
X fn-doc-16: Created on: 2006-01-25 Spec Dependencies: Test: fn:count(fn:node-name(fn:doc($uri))) |
pass | pass | pass | pass | pass | pass | |
fn-doc-17[+]
X fn-doc-17: Created on: 2006-01-25 Spec Dependencies: Test: fn:doc("%gg") |
pass | pass | wrongError
Expected error:FODC0002, got null |
pass | pass | pass | |
fn-doc-18[+]
X fn-doc-18: Created on: 2006-01-25 Spec Dependencies: Test: fn:not(fn:doc($uri) is fn:doc($uri)) |
pass | pass | pass | pass | pass | pass | |
fn-doc-19[+]
X fn-doc-19: Created on: 2006-01-25 Spec Dependencies: Test: (fn:doc($uri) is fn:doc($uri)) and fn:true() |
pass | pass | pass | pass | pass | pass | |
fn-doc-20[+]
X fn-doc-20: Created on: 2006-01-25 Spec Dependencies: Test: (fn:doc($uri) is fn:doc($uri)) and fn:false() |
pass | pass | pass | pass | pass | pass | |
fn-doc-21[+]
X fn-doc-21: Created on: 2006-01-25 Spec Dependencies: Test: (fn:doc($uri) is fn:doc($uri)) or fn:true() |
pass | pass | pass | pass | pass | pass | |
fn-doc-22[+]
X fn-doc-22: Created on: 2006-01-25 Spec Dependencies: Test: (fn:doc($uri) is fn:doc($uri)) or fn:false() |
pass | pass | pass | pass | pass | pass | |
fn-doc-24[+]
X fn-doc-24: Created on: 2007-12-20 Spec Dependencies: Test: fn:doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-25[+]
X fn-doc-25: Created on: 2007-12-20 Spec Dependencies: Test: fn:doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-26[+]
X fn-doc-26: Created on: 2007-12-21 Spec Dependencies: Test: fn:doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-27[+]
X fn-doc-27: Created on: 2007-12-21 Spec Dependencies: Test: fn:doc($uri) |
pass | wrongError
Expected error:FODC0002, got err:SXXP0003 |
wrongError
Expected error:FODC0002, got err:SXXP0003 |
pass | pass | pass | |
fn-doc-28[+]
X fn-doc-28: Created on: 2007-12-27 Spec Dependencies: Test: fn:doc($uri) |
pass | wrongError
Expected error:FODC0002, got err:SXXP0003 |
wrongError
Expected error:FODC0002, got err:SXXP0003 |
pass | pass | pass | |
fn-doc-29[+]
X fn-doc-29: Created on: 2007-12-27 Spec Dependencies: Test: fn:doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-30[+]
X fn-doc-30: Created on: 2008-01-15 Spec Dependencies: Test: local-name(fn:doc($uri)/*) |
pass | pass | pass | pass | pass | pass | |
fn-doc-31[+]
X fn-doc-31: Created on: 2008-01-15 Spec Dependencies: Test: local-name(fn:doc($uri)/*) |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-14[+]
X K2-SeqDocFunc-14: Created on: 2008-01-15 Spec Dependencies: Test: doc(':/') |
pass | wrongError
Expected error:FODC0005, got err:FODC0002 |
wrongError
Expected error:FODC0005, got null |
pass | pass | pass | |
fn-doc-32[+]
X fn-doc-32: Created on: 2008-01-15 Spec Dependencies: Test: normalize-space(string(fn:doc($uri))), normalize-space(string(exactly-one(fn:doc($uri)/*))) |
pass | pass | pass | pass | pass | pass | |
fn-doc-33[+]
X fn-doc-33: Created on: 2008-02-19 Spec Dependencies: spec = XQ10+ Test: declare namespace s = "http://www.w3.org/2000/svg"; declare variable $uri external; declare variable $root := doc($uri)/root/QObject; declare variable $metaObjects := $root/preceding-sibling::metaObjects/metaObject; declare function local:recurseMetaObject($object as element(metaObject), $count as xs:integer) { <s:text x ="{10 * $count}" y="10" font-family="Verdana" font-size="55" fill="blue" >{ string($object/@className)}</s:text> }; declare function local:drawDiagram($object as element(QObject)) as element(s:g) { <s:g> { if(string($object/@objectName)) then attribute xml:id {$object/@objectName} else (), $metaObjects[@className = $object/@className]/local:recurseMetaObject(., 1) } </s:g> }; <s:svg> { <s:rect x="1" y="1" width="500" height="300" fill="none" stroke="blue" stroke-width="2"/>, <s:rect x="400" y="100" width="400" height="200" fill="yellow" stroke="navy" stroke-width="10" />, for $object in $root//QObject for $i in local:drawDiagram($object) stable order by string($i) return $i } </s:svg> |
pass | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
fn-doc-34[+]
X fn-doc-34: Created on: 2008-02-28 Spec Dependencies: Test: doc($uri) |
pass | pass | pass | pass | pass | pass | |
fn-doc-35[+]
X fn-doc-35: Created on: 2008-02-28 Spec Dependencies: Test: doc('id/badxml.xml') |
pass | wrongError
Expected error:FODC0002, got err:SXXP0003 |
wrongError
Expected error:FODC0002, got err:SXXP0003 |
pass | pass | pass | |
fn-doc-36[+]
X fn-doc-36: Created on: 2008-02-28 Spec Dependencies: Test: count(doc($uri)//text()) |
pass | pass | pass | pass | pass | pass | |
fn-doc-37[+]
X fn-doc-37: Created on: 2008-05-27 Spec Dependencies: spec = XP30+ XQ10+ Test: let $result := id("idABC", doc($uri)) return $result |
pass | pass | pass | pass | pass | pass | |
fn-doc-38[+]
X fn-doc-38: Created on: 2015-01-28 Spec Dependencies: spec = XQ10+ Test: <a/>/self::b[doc('%GG')] |
pass | n/a
notXP31 |
wrongError
Expected error:XPST0005, got null |
n/a | pass | pass | |
fn-doc-39[+]
X fn-doc-39: Created on: 2015-01-28 Spec Dependencies: spec = XQ10+ Test: for $n in (text { 'x' }, comment { 'y' })/self::a return doc('i-do-not.exist') |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
K2-SeqDocFunc-1[+]
X K2-SeqDocFunc-1: Created on: 2007-11-26 Spec Dependencies: Test: empty(fn:doc(())) |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-2[+]
X K2-SeqDocFunc-2: Created on: 2007-11-26 Spec Dependencies: spec = XQ10+ Test: <e>{fn:doc(())}</e> |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
K2-SeqDocFunc-3[+]
X K2-SeqDocFunc-3: Created on: 2007-11-26 Spec Dependencies: Test: fn:doc(xs:untypedAtomic("file:///example.com/does/not/exist/xqts-testing.xml")) |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-4[+]
X K2-SeqDocFunc-4: Created on: 2007-11-26 Spec Dependencies: Test: doc("/example.com/example.org/does/not/exist/doesNotExist/works-mod.xml") |
pass | no result | no result | pass | pass | pass | |
K2-SeqDocFunc-5[+]
X K2-SeqDocFunc-5: Created on: 2007-11-26 Spec Dependencies: Test: doc("/example.com/example.org/does/not/exist/doesNotExist/works-mod.xml") |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-6[+]
X K2-SeqDocFunc-6: Created on: 2007-11-26 Spec Dependencies: Test: doc("/example.com/example.org/does/not/exist/doesNotExist/works-mod.xml") |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-7[+]
X K2-SeqDocFunc-7: Created on: 2007-11-26 Spec Dependencies: Test: doc("example.com\example.org\does\not\exist\doesNotExist\works-mod.xml") |
pass | pass | wrongError
Expected error:FODC0002, got null |
pass | pass | pass | |
K2-SeqDocFunc-8[+]
X K2-SeqDocFunc-8: Created on: 2007-11-26 Spec Dependencies: Test: doc("\example.com\example.org\does\not\exist\doesNotExist\works-mod.xml") |
pass | pass | wrongError
Expected error:FODC0002, got null |
pass | pass | pass | |
K2-SeqDocFunc-9[+]
X K2-SeqDocFunc-9: Created on: 2007-11-26 Spec Dependencies: Test: doc("C:\example.com\example.org\does\not\exist\doesNotExist\works-mod.xml") |
pass | pass | wrongError
Expected error:FODC0002, got null |
pass | pass | pass | |
K2-SeqDocFunc-10[+]
X K2-SeqDocFunc-10: Created on: 2007-11-26 Spec Dependencies: Test: doc("") |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-11[+]
X K2-SeqDocFunc-11: Created on: 2007-11-26 Spec Dependencies: Test: doc("") |
pass | pass | pass | pass | pass | pass | |
K2-SeqDocFunc-12[+]
X K2-SeqDocFunc-12: Created on: 2007-11-26 Spec Dependencies: spec = XQ10+ Test: declare variable $fileToOpen := <Variable id="_7" name="constComplex2" type="_11c" context="_1" location="f0:17" file="f0" line="17">%GG</Variable>; empty($fileToOpen//*[let $i := @type return doc($fileToOpen)//*[$i]]) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
K2-SeqDocFunc-13[+]
X K2-SeqDocFunc-13: Created on: 2007-11-26 Spec Dependencies: spec = XQ10+ Test: declare variable $doc1 := doc("http://fybnqmf.com/fybnqmf"); let $doc2 := doc("ftp://fybnqmf.com/fybnqmf") for $i in doc("localFile.xml") return (1, 2, 3) |
pass | n/a
notXP31 |
pass | n/a | pass | pass |