Re: [Htmlparser-developer] HTMLParser Candidate Release 1 is out
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-11-05 19:08:18
|
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 |