Re: [Htmlparser-developer] bug [ 722917 ] AttributeParser not parsing correctly
Brought to you by:
derrickoswald
|
From: Kaarle K. <kaa...@ik...> - 2003-04-20 17:38:40
|
At 08:13 20.4.2003 -0700, you wrote: >Hi Kaarle, > Happy Easter! I put this in an html page and checked with IE6.0 and it show a picture but the balloon with the text shows great pic i.e. with newline. It does not strip the new line. Kaarle > > 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 > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Htmlparser-developer mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlparser-developer --------------------------------------------- Kaarle Kaila http://www.iki.fi/kaila mailto:kaa...@ik... tel: +358 50 3725844 |