Typo in RangeToken.java - Please check 2007-02-05 - By Dave Brosius
No, i just saw the src2begin <= src2begin
----- Original Message ----- From: "Michael Glavassevich" <mrglavas@(protected)> To: <j-dev@(protected)> Sent: Sunday, February 04, 2007 6:55 PM Subject: Re: Typo in RangeToken.java - Please check
> Dave, > > "Dave Brosius" <dbrosius@(protected)> wrote on 02/04/2007 04:32:49 AM: > >> In org.apache.xerces.impl.xpath.regex.RangeToken.java >> >> in method protected void intersectRanges(Token token) >> >> >> around line 352 >> >> if (src2begin <= src2begin && src1end <= src2end) { >> // src1: o--------o >> // src2: o------------o >> // res: o--------o >> // Reuse src2 >> >> >> from the pretty picture, i'd say it should be >> >> if (src2begin <= src1begin && src1end <= src2end) { > > I'm not too familiar with this code but based on the comments this looks > right. Do you happen to have a test case to verify it? > >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: j-dev-unsubscribe@(protected) >> For additional commands, e-mail: j-dev-help@(protected) > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrglavas@(protected) > E-mail: mrglavas@(protected) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-dev-unsubscribe@(protected) > For additional commands, e-mail: j-dev-help@(protected) >
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|