Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 5 General Forum
Date: Sat Nov 17 2001 6:37 pm
Author: Ghosh, Debmallo S. <dsghosh@cmu.edu>
Subject: Re: grading: correctness and robustness

Yes, I'm working on the Sun machines in WeH 5204.

Even when I output all the exceptions as you suggested, I still get the same output as before when running WebReader -- just the line "0 total page elements retrieved." Running WebCrawler directly on the pages returns no exceptions either, as one would expect if the PageLexer was returning nothing either. After a little more testing, I think the problem is in the StreamTokenizer. When I put a "System.out.println( tokens );" in the HttpTokenizer file, which should output the entire StreamTokenizer object the HttpTokenizer uses, the only output I get is "Token[NOTHING], line 1", instead of the expected string of "Token[ blah ], line blah" that I get when running the tokenizer on any other page. I hope this helped ...
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
grading: correctness and robustness      Liu, Limin Angela      Fri Nov 16 2001 4:28 pm       
Re: grading: correctness and robust...      Cipriani, Jason A.      Fri Nov 16 2001 11:07 pm       
Re: grading: correctness and rob...      Liu, Limin Angela      Sat Nov 17 2001 9:30 am       
Re: grading: correctness and rob...      Liu, Limin Angela      Sat Nov 17 2001 9:32 am       
Re: grading: correctness and rob...      Liu, Limin Angela      Sat Nov 17 2001 12:37 pm       
Re: grading: correctness and ...      Ghosh, Debmallo S.      Sat Nov 17 2001 4:01 pm       
Re: grading: correctness a...      Liu, Limin Angela      Sat Nov 17 2001 6:03 pm       
Re: grading: correctness a...      Liu, Limin Angela      Sat Nov 17 2001 6:12 pm       
Re: grading: correctnes...      Ghosh, Debmallo S.      Sat Nov 17 2001 6:37 pm       
Re: grading: correct...      Liu, Limin Angela      Sat Nov 17 2001 7:42 pm       
Re: grading: correct...      Liu, Limin Angela      Sun Nov 18 2001 2:59 pm       
Re: grading: correctness and robust...      Goodman, Brian J.      Sat Nov 17 2001 1:09 am       

Back to previous screen