Typo in RangeToken.java - Please check 2007-02-04 - By Michael Glavassevich
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)
|
|