lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: Bug within HTMLParser.jj?
Date Fri, 07 Feb 2003 19:00:48 GMT
I have seen the HTMLParser hang in a way that this might fix.

Can you please submit the complete patch as a diff?

Thanks,

Doug

Michael Wechner wrote:
> Hi
> 
> There seems to be a bug within
> 
> org/apache/lucene/demo/html/HTMLParser.jj
> 
> when the "HTML Title" is very long (I guess longer
> than the 200 characters)
> 
> When the HTML Title is too long, then the wait(10) loop
> within the getSummary() method
> is not being left, because it seems
> that no more characters are being added.
> 
> I my case I made a quick fix by adding some MAX_WAIT value:
> 
>         elapsedMillis=elapsedMillis+10;
>         if(elapsedMillis > MAX_WAIT) break;
> 
> Is anybody else experiencing the same problem?
> 
> Thanks
> 
> Michael
> 
> 
> -- 
> To unsubscribe, e-mail:   
> <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:lucene-dev-help@jakarta.apache.org>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message