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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
