This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6386 - [FT] bug in fts:joinIncludes
Summary: [FT] bug in fts:joinIncludes
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 01:14 UTC by Michael Dyck
Modified: 2011-01-06 23:09 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Dyck 2009-01-10 01:14:26 UTC
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)}"/>
Comment 1 Mary Holstege 2009-02-19 22:34:06 UTC
Fixed by the fixes for other bugs.
Comment 2 Michael Dyck 2011-01-06 23:09:31 UTC
Yup. Closing.