[Bug 3374] complete example (4.3.3) incorrect

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