Re: [Htmlparser-user] Base tag problem
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-12-04 06:33:52
|
Hi Marcin Thanks for the bug report - it has been reproduced and fixed. Bytway, when submitting reports, could you login at sourceforge- else, the automatic response mechanism of the bug reporting system will not be able to initimate you of our responses. You can expect this fix in the next release (coming week). Regards, Somik ----- Original Message ----- From: "Marcin Pionnier" <mar...@so...> To: <htm...@li...> Sent: Monday, December 02, 2002 5:08 AM Subject: [Htmlparser-user] Base tag problem > Hi > > When I was parsing pages from google.com directory I found a problem: > Inside a document there is such line: > <base target="_top"> > > but HtmlBaseHREFScanner assumes that there is HREF paramater: > (Line 68) HTMLBaseHREFScanner.java) > String baseUrl = (String)tag.getParameter("HREF"); > String absoluteBaseUrl = removeLastSlash(baseUrl.trim()); > > so I got null pointer exception (of course it is very easy to fix it) > > Is that line from google malformed HTML or it is a bug in parser? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |