[Htmlparser-developer] Latest code Problems
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-01-08 05:29:33
|
Hi Derrick, Everyone, I checked out the latest code, and I found the following problems : [1] testHTTPCharset and testHTMLCharset still fail. This time the = failures are : Could not open http://www.ibm.co.jp (I tried changing it = to www.ibm.com/jp but that didnt help. [2] HTMLLinkBeanInfo and HTMLTextBeanInfo dont compile. Are you relying = on something in JDK 1.4 ? Bytway, htmlparser is JDK 1.1 compliant. I am = not sure if that should change, but then again, it really depends on the = users of the parser. [3] I am wondering if org.htmlparser.beans should exist outside the main = htmlparser module - in a module of its own within the htmlparser = project. That way the parser workspace could be focussed on the parsing = functionality. What do you think ? [4] I've fixed the bug that was being caught by testExtractLinkBug2 - = based on Sam's suggestion, but I think more work needs to be done. = Currently, HTMLStringNode has turned thread-unsafe due to its = customizability. Since it is static, thread-safety goes out the window. = The obvious refactoring would be to have non-static class(es) for the = basic automata - which would have a 1:1 mapping with the parser = instance. Regards, Somik |