|
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) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app-UseCaseSTRING | 4/4 | 4/4 | 1/1 | 4/4 | 1/1 | 4/4 | 4/4 | 1/1 | 4/4 | 4/4 | 1/1 | 4/4 | 4/4 | 4/4 | 4/4 | 3/15 |
string-queries-results-q1[+]
X string-queries-results-q1: //news_item/title[contains(., "Foobar Corporation")] |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
string-queries-results-q2[+]
X string-queries-results-q2: declare variable $input-context1 := $string; declare variable $input-context2 := $company-data; declare function local:partners($company as xs:string) as element()* { let $c := $input-context2//company[name = $company] return $c//partner }; let $foobar_partners := local:partners("Foobar Corporation") for $item in $input-context1//news_item where some $t in $item//title satisfies (contains(exactly-one($t/text()), "Foobar Corporation") and (some $partner in $foobar_partners satisfies contains(exactly-one($t/text()), $partner/text()))) or (some $par in $item//par satisfies (contains(string($par), "Foobar Corporation") and (some $partner in $foobar_partners satisfies contains(string($par), $partner/text())))) return <news_item> { $item/title } { $item/date } </news_item> |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
string-queries-results-q4[+]
X string-queries-results-q4: declare function local:partners($c as xs:string) as element()* { let $c := $company-data//company[name = $c] return $c//partner }; for $item in $string//news_item, $c in $company-data//company let $partners := local:partners(exactly-one($c/name)) where contains(string($item), $c/name) and (some $p in $partners satisfies contains(string($item), $p) and $item/news_agent != $c/name) return $item |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
string-queries-results-q5[+]
X string-queries-results-q5: for $item in //news_item where contains(string(exactly-one($item/content)), "Gorilla Corporation") return <item_summary> { concat($item/title,". ") } { concat($item/date,". ") } { string(($item//par)[1]) } </item_summary> |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |