[Bug 6303] FT: TokenInfo and StringInclude definition

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





--- Comment #4 from Michael Dyck <jmdyck@ibiblio.org>  2008-12-11 22:08:56 ---
(In reply to comment #3)
> (In reply to comment #2)
> But according to the spec: "the distance between the two is M2's starting
> position minus M1's ending position, minus 1.". 
> So, for the first match we should get the distance = 5 - 2 - 1 = 2. Is it right
> ? 

Whoops, right, I forgot the minus one. So:
    For the first Match, the word distance between 
    the two TokenInfos is 2 (startPos 5 - endPos 2 - 1),
    and for the fifth Match, it's 1 (startPos 27 - endPos 25 - 1).


-- 
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 Thursday, 11 December 2008 22:09:05 UTC