[Bug 6386] New: [FT] bug in fts:joinIncludes

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

           Summary: [FT] bug in fts:joinIncludes
           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: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


In 4.2.7.8 FTWindow, the function fts:joinIncludes has the lines:

     <fts:tokenInfo
         startPos="{$minPos}"
         endPos  ="{$maxPos}"
         startSent="{fn:min($strIncls/fts:tokenInfo/@startSent)}"
         endSent  ="{fn:max($strIncls/fts:tokenInfo/@startSent)}"
         startPara="{fn:min($strIncls/fts:tokenInfo/@startPara)}"
         endPara  ="{fn:max($strIncls/fts:tokenInfo/@startPara)}"/>

I'm pretty sure the values for endSent and endPara should refer
to @endSent and @endPara, not @startSent and @startPara.
That is, it should be

         endSent  ="{fn:max($strIncls/fts:tokenInfo/@endSent)}"
         ...
         endPara  ="{fn:max($strIncls/fts:tokenInfo/@endPara)}"/>


-- 
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 Saturday, 10 January 2009 01:14:39 UTC