W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2008

[Bug 6303] FT: TokenInfo and StringInclude definition

From: <bugzilla@wiggum.w3.org>
Date: Thu, 11 Dec 2008 22:08:57 +0000
To: public-qt-comments@w3.org
Message-Id: <E1LAtiL-0004Zu-4e@farnsworth.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:38 UTC