- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 10 Apr 2009 22:53:21 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6802
Summary: [FT] Test Suite Revised
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Full Text 1.0
AssignedTo: jim.melton@acm.org
ReportedBy: christian.gruen@gmail.com
QAContact: public-qt-comments@w3.org
Hi all,
I've now locally fixed most whitespace issues and will upload them if I have
the login data. I have fixed some other small bugs, and I did my best to avoid
new bugs.
Below you find some other issues I came across (I could have directly fixed
some of them, but I felt it was better to let you know):
[1] examples-364-2.xq
I mentioned this one before (bug #6665). This query will only yield true if <p>
is defined as paragraph delimiter. So it might be helpful if the comparison
mode was set to "Inspect" - or if <p> could somewhat be defined as default
delimiter in the test suite.
[2] FTAnd-badexpr1.xq
An exception (XPTY0004) is thrown here as the FTWordsValue is an empty
expression - but I didn't find a hint why this is not allowed. Could you give
me some hints?
[3] ftstemming-q5.xq
I would only expect one book as result (the first one), as the second book does
not contain a stemmed "improve" term.
[4] FTOrder-andor1.xq
The query uses the following ftcontains expression:
...[/books/book/para ftcontains("swift" ftand "persuasion")
ftor ("ninja" ftand "software") ordered]...
One <para> element contains all four terms. As "swift" and "persuasion" appear
in the correct order, I wouldd intuitively assume a match here. Instead, the
propsed result is empty. But maybe I got this one wrong..
[5] FTDistance-complexwords4.xq, FTDistance-complexexpr2.xq,
FTDistance-complexexpr1.xq, FTDistance-complexexpr3.xq
The current results accept the term "Usability Studies", which is actually
excluded by the query. The correct result probably is
<title>Software For Fun and Profit, 2nd edition</title>
[6] FTDistance-complexwords5.xq
I'm not sure: can "window 0 words", which is used here, yield any results at
all? I would expect "2" as minimum. Next, is the distance here 2 or 3 words?
[7] FTScope-q3.xq, FTScope-q4.xq
See [1]; <p> is implicitly assumed as paragraph delimiter.
[8] FTNot-q1.xq, FTContent-q2.xq, FTNot-unconstrained-q1.xq
As <para> does not occur in all the <book> elements, the results of the three
queries should each contain only four <title> elements.
[9] full-text-composability-queries-results-q5.xq
The "if/then/else" expression is parsed and output as part of the text node:
...if (count($book/metadata/author) > 0) ...
[10] xquery-xpath-composability-queries-results-q9.xq
I get the expected result if the count(..) function is rewritten a little:
old: count(./part/chapter) * 3
new: count($cont/part/chapter) * 4
[11] ftmatchoptions-q1.xq, ftlanguage-q2.xq
Alternative error "FTST0009" missing.
[12] Extension3.xq
Parsing issue; the second option must be prefixed by "option":
...option ex:option2...
[13] FTWindow-sentences1.xq, FTWindow-sentences3.xq,
FTWindow-paragraphs1.xq, FTWindow-paragraphs3.xq,
FTWindow-complexwords3.xq
Parsing issue: "exactly " obsolete.
[14] FTWindow-paragraphs1.xq
See [1].. <p> is expected to delimit paragraphs.
[15] ftstopword-q4.xq - ftstopword-q9.xq
"StopWordList1.xml" does not exist ("StopWordList.xml" ?)
[16] ftstopword-q4.xq, ftstopword-q7.xq, ftstopword-q8.xq
"union" -> "union at" / "except" -> "except at"
[17] ftstopword-q7.xq
"FTST0008" expected, as StopWordList3.xml is missing.
[18] ftstopword-q9.xq
Parsing issue; superfluous "("
[19] ForScoreExpr-2.xq, ForScoreExpr-4.xq
"as xs:string" should be removed (XPTY0004, type mismatch).
[20] FTContent-complex2.xq
"50..." FTUnit missing (probably "words").
[21] FTSelection-Weight-q1f.xq, FTSelection-Weight-q1g.xq,
FTSelection-Weight-q1h.xq
"as xs:double" should be removed (XPTY0004, type mismatch).
[22] FTIgnore-q2.xq
Alternative error "FTST0007" missing.
I hope/guess that most XQFTTS bugs will be fixed after this has been discussed.
Best,
Christian
--
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 Friday, 10 April 2009 22:53:31 UTC