[Htmlparser-developer] Major bug fix - spaces in links and images are now handled
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-04-15 05:14:41
|
Hi Folks, Thanks to Sam Joseph (creator of Neurogrid). Sam is using the parser = in the neurogrid project, and has pointed out a bug that slipped our = attention. If links or image urls contain spaces, those spaces were = being absorbed. That is incorrect behaviour, especially if you have = something of the form : http://myservlet.com/someservlet?name=3DSam Joseph&age=3D22 The same goes for images like http://www.kizna.com/images/kizna corp.jpg Also - previously, newline character were being converted to spaces. = This has been modified - new line characters are left as is. The = responsibility to deal with them is now with the appropriate scanner. = So, the link and image scanners specifically filter out the newline = characters, whereas jsp tags which might have jsp code - would like to = preserve the new line chars. Over 73 testcases now in the htmlparser, and all passing.. I think we're ready for release 1.1 now, unless I get any more bug = reports this week. You can check out the latest code from CVS. Regards, Somik |