|
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) |
|
---|---|---|---|---|---|---|---|
app-UseCaseSTRING | 4/4 | 1/1 | 4/4 | 1/1 | 4/4 | 4/1 | 0/6 |
string-queries-results-q1[+]
X string-queries-results-q1: Created on: 2005-02-03 Spec Dependencies: Test: //news_item/title[contains(., "Foobar Corporation")] |
pass | pass | pass | pass | pass | pass | |
string-queries-results-q2[+]
X string-queries-results-q2: Created on: 2005-02-03 Spec Dependencies: spec = XQ10+ Test: 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 | n/a
notXP31 |
pass | n/a | pass | pass | |
string-queries-results-q4[+]
X string-queries-results-q4: Created on: 2005-02-03 Spec Dependencies: spec = XQ10+ Test: 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 | n/a
notXP31 |
pass | n/a | pass | pass | |
string-queries-results-q5[+]
X string-queries-results-q5: Created on: 2005-02-03 Spec Dependencies: spec = XQ10+ Test: 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 | n/a
notXP31 |
pass | n/a | pass | pass |