Re: [Htmlparser-developer] bug [ 722917 ] AttributeParser not parsing correctly
Brought to you by:
derrickoswald
|
From: Somik R. <so...@ya...> - 2003-04-20 15:12:16
|
Hi Kaarle,
Happy Easter!
> As I run the JUnit I get only error in test
> org.htmlparser.tests.parserHelperTests.AttributeParserTest
>
> The results dir contains AttributeParser.html
>
> with a source like this:
> ============
> img src="somepic.jpg" alt="great
> pic" width="10" height=20
> =============
> With a new line in the middle of an attribute value. I don't think that's
> allowed in html??
I thought that the parser should be able to figure out when to strip the new
line.. You could always test this in IE and see if it is picked up (I think
it is).
> I guess you have somewhere some instructions on fit that I should know to
> look at this test?
fit.c2.com.
To make life easy, I've added a class that allows you to run fit tests
inside junit - check the resources package - fit.jar, expand it to go to
runner.FitRunner. And simply run that as a testcase. It will run the tests
in the specs directory and put the results in the results directory. It can
flag errors at the file level after which you have to open the results to
get detailed info.
Regards,
Somik
|