RE: [Htmlparser-developer] HTMLParser Candidate Release 1 is out
Brought to you by:
derrickoswald
|
From: <dha...@or...> - 2002-11-07 07:04:43
|
Hey Somik,
I think some mistake on my part (thougve'nt been able to figure out
what) but script and comments are now working fine. However the other
thing that told you about, i.e. // and --> appearing on 2 different
lines needs to be fixed. Also the </SCRIPT> should not be on the same
line as --> but on a new line.
Regards,
Dhaval Udani
Senior Analyst
M-Line, QPEG
OrbiTech Solutions Ltd.
+91-22-8290019 Extn. 1457
-----Original Message-----
From: somik [mailto:so...@ya...]
Sent: Wednesday, November 06, 2002 12:39 AM
To: htmlparser-developer
Cc: somik
Subject: Re: [Htmlparser-developer] HTMLParser Candidate Release 1 is
out
Dear Dhaval,
More responses like yours, and we should be able to finish the
production release in no time.
>However when I ran my program with it, I got an error. This has
>happened since earlier the HTMLFormScanner was not being registered by
>default whereas now it is happening. Once I remove this scanner, once
>again my program starts working :)
Previously this scanner was not registered, as erroneous form tags would
crash the scanner. After that, the exception model was introduced, and I
thought that it would be good to have a form scanner that throws an
exception when it goes into a potential loop. Can you post the exact
exception, and your opinion as to why it should not have been thrown ?
>I have added the same as a bug report as well. Urge you to check it
out.
As always, there's only one way to prove a bug - with a testcase.
I tried writing one - but mine passes! I have added it to CVS, and for
your
purpose, here is HTMLScriptScannerTest.java for you. Use it and build
the
parser. I might have gone wrong in building it, so you can modify this,
make
it fail, and send it back to me.
>Some points I noted while scanning through the javadocs:
>1. HTMLFormTag needs documentation so to does HTMLFormScanner.
>2. HTMLParser::registerScanners() - HTMLFormScanner is now registered
by
>default. (documentation needs to be updated)
>3. HTMLFormScanner - Does not have a no-args constructor like the other
>scanners.
I will work on these..
Regards,
Somik
|