Re: [Htmlparser-user] Parser error
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-06-21 01:55:44
|
Hi Mazlan, Thank you for the kind words. The reason for the crash is this really wierd line (at the end of the freshmeat page) : <a>Revision</a> *sigh* -- I'll try to see how we can support this. Regards, Somik ----- Original Message ----- From: "Mazlan Mat" <maz...@ya...> To: <htm...@li...> Sent: Friday, June 21, 2002 2:44 AM Subject: [Htmlparser-user] Parser error > Hello there, > First of all, thanks for the great effort you guys put > here. > > I received the following error while parsing > freshmeat.net. I use addScanner() method of the parser > class > /* > parser.addScanner(new HTMLLinkScanner("-l")); > parser.addScanner(new HTMLImageScanner("-i")); > */ > > Exception in thread "main" > java.lang.StringIndexOutOfBoundsException: String ind > ex out of range: 1 > at java.lang.String.charAt(String.java:455) > at > com.kizna.html.scanners.HTMLLinkScanner.evaluate(HTMLLinkScanner.java > :101) > at > com.kizna.html.tags.HTMLTag.scan(HTMLTag.java:391) > at > com.kizna.html.HTMLReader.readElement(HTMLReader.java:149) > at > com.kizna.html.HTMLParser$1.hasMoreElements(HTMLParser.java:199) > at GetLink.main(GetLink.java:29) > > Regard > Mazlan Mat > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |