From: Peter Szinek Date: 2006-11-24T17:29:02+09:00 Subject: Re: mechanize question _why wrote: > On Fri, Nov 24, 2006 at 04:16:48AM +0900, Aaron Patterson wrote: >> Mechanize uses HPricot for its HTML parsing. If Hpricot can handle the >> form tag that isn't closed, then you should be fine. If HPricot cannot >> handle the unbalanced form tag, you can write a pluggable parser to fix >> up your HTML before it is run through HPricot. > > If Hpricot cannot handle the tag, please open a ticket[1] or mail me, so I can > fix it and add to my tests. This way we all get to benefit from these wild tags > you've captured. Sure :-) I am just beginning with mechanize so I don't have a real-life testcase yet, but since I am going to scrape tens or maybe hundreds of pages with HPricot + mechanize in the near future, I guess something will pop up sooner or later... Peter __ http://www.rubyrailways.com