W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2006

[Bug 3374] complete example (4.3.3) incorrect

From: <bugzilla@wiggum.w3.org>
Date: Tue, 20 Jun 2006 14:45:57 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1FshUL-0005zz-Vi@wiggum.w3.org>

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

           Summary: complete example (4.3.3) incorrect
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
               URL: http://www.w3.org/TR/xquery-full-text/#tq-ft-
                    FTContainsExpr-example
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text
        AssignedTo: doerre@de.ibm.com
        ReportedBy: doerre@de.ibm.com
         QAContact: public-qt-comments@w3.org


There is an error in the complete example (section 4.3.3), step 5.
After applying "windows 30 words" to the result of step 4 only 5 of the 20
Matches
should be filtered out. So, there are 7 Matches missing: combinations 8/24/28,
8/5/28, 8/25/28, 8/35/38, 24/5/28, 24/25/2, 5/25/28. All of these satisfy the
window constraint as well.
To make the example more readable, however, I'd propose to modify the window
constraint to be more limiting. For instance with a window size of 11 only 3
Matches are left: 8/5/2, 24/25/28, 25/35/28.
Received on Tuesday, 20 June 2006 14:46:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:12 UTC