[Bug 5829] [FTUC] xquery full text use case document has WRONG xpath solutions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5829





--- Comment #5 from zhen hua liu <zhen.liu@oracle.com>  2008-08-06 23:11:11 ---
(:: 6.2.1 ::)
doc('http://bstore1.example.com/full-text.html')/books/book[.//content
ftcontains "test" with stemming]



(:: 6.2.2 ::)
doc("http://bstore1.example.com/full-text.html")/books/book[.//content
ftcontains (("usable" with stemming)
ftand ("testing" phrase)) ftor (("use" with stemming )
ftand ("testing" phrase))]



(:: 7.2.1 ::)

doc("http://bstore1.example.com/full-text.html")
/books/book[.//introduction ftcontains "quote"
with thesaurus at
"http://bstore1.example.com/UsabilityThesaurus.xml"
relationship "synonyms"]





(:: 7.2.2 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[content ftcontains "web site components"
with thesaurus at
"http://bstore1.example.com/UsabilityThesaurus.xml"
relationship "narrower terms" at most 2 levels]



(:: 7.2.3 ::)

doc("http://bstore1.example.com/full-text.html")
/books/book[content ftcontains "letters"
ftor "holiday cards" with thesaurus at
"http://bstore1.example.com/UsabilityThesaurus.xml"
relationship "BT" exactly 1 levels]

(:: 7.2.4 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[. ftcontains "Merrygould"
with thesaurus at
"http://bstore1.example.com/UsabilitySoundex.xml"
relationship "sounds like"]



(:: 7.2.5 ::)

doc("http://bstore1.example.com/full-text.html")
/books/book[. ftcontains "sucessfull"
with thesaurus at
"http://bstore1.example.com/spellcheck.xml"
relationship "misspelling of"]



(:: 7.2.6 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[@number="3" and .//component ftcontains "AIDS"
uppercase with thesaurus at
"http://bstore1.example.com/OurTaxonomy.xml"
relationship "disease in this category"]


(:: 8.2.1 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[.//content ftcontains "planning then conducting" with stop words at
"http://bstore1.example.com/StopWordList.xml"]



(:: 8.2.2 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[.//content ftcontains "planning then
conducting" without stop words]



(:: 8.2.3 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[content ftcontains "not been
approved" with stop words at
"http://bstore1.example.com/StopWordList.xml"
except ("not")]/(metadata/title, content)

(:: 9.2.1 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[.//content ftcontains "résumé."
with wildcards diacritics sensitive]



(:: 9.2.2 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[.//content ftcontains "resume."
with wildcards diacritics insensitive]



(:: 9.2.3 ::)
doc("http://bstore1.example.com/full-text.html")
/books/book[. ftcontains "AIDS" uppercase]



(:: 9.2.4::)
doc("http://bstore1.example.com/full-text.html")
/books/book[. ftcontains "AIDS" case insensitive]


(:: 10.2.1 ::)

doc('http://bstore1.example.com/full-text.html')/books/book[.//content
ftcontains "web"
   ftor "software"]



(:: 10.2.2 ::)

doc('http://bstore1.example.com/full-text.html')/books/book [.//content
ftcontains "web"
   ftand "software"]





(:: 10.2.3 ::)

doc('http://bstore1.example.com/full-text.html')/books/book[.//content
ftcontains "goal"
   ftand "obstacles" ftand "task" ordered]





(:: 10.2.4 ::)

doc('http://bstore1.example.com/full-text.html')/books/book[. ftcontains ftnot
"us.* testing" with wildcards]

(:: 10.2.5 ::)

doc('http://bstore1.example.com/full-text.html')/books/book
[./metadata ftcontains "usability" ftand ftnot "plan"]






(:: 10.2.6 ::)


doc('http://bstore1.example.com/full-text.html')/books/book
[ content ftcontains
   (("résumés" diacritics sensitive) ftor "drafts"
   ftor "correspondence") ftand ftnot "book drafts"]





(:: 10.2.7 ::)

doc('http://bstore1.example.com/full-text.html')/books/book[.//content
ftcontains 
   (("résumés" diacritics sensitive) ftor "drafts"
   ftor "correspondence") not in "book drafts"]


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 6 August 2008 23:11:45 UTC