Re: [Htmlparser-user] Base tag problem
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-12-02 17:38:45
|
That sounds like a bug. Can you enter it in at http://htmlparser.sourceforge.net ? Thanks a lot. Regards Somik --- Marcin Pionnier <mar...@so...> wrote: > 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 __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |