OK, I'll have a look at that later. BTW, adding the script scanner fixed another problem - it now no longer trips up on strings such as
"<img src=\"/shared/images/spacer.gif\" width=1 height=8>" which are often found in scripts. This was previously being treated as a link to "\", which caused HttpClient to throw a wobbly (IllegalParameterException) in GetMethod(). == We should probably look into perhaps supporting Windows-style links: e.g. "\images\reversed.gif" and perhaps "\\server\path\doc". The former is already handled by JTidy, and could be added to Regex and HtmlParser (e.g. by doing a replace on the url before storing it.) The latter should probably not be downloaded - perhaps just a log message? S. -----Original Message----- From: peter lin [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 14:07 To: JMeter Developers List Subject: Re: cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser HtmlParserHTMLParser.java hey sebastian, I think you may have to add a method to ScriptScanner. something like public LinkScanner createLinkScanner(String filter) { return new LinkScanner(filter, processor); } then you should be able to register the second link scanner with the parse and it should parse the script body for links. peter lin [EMAIL PROTECTED] wrote: I couldn't work out how to get HtmlParser to recognise . Anyone? S. ----- Original Message ----- From: To: Sent: Wednesday, March 24, 2004 3:04 AM Subject: cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser HtmlParserHTMLParser.java > sebb 2004/03/23 19:04:06 > > Modified: src/protocol/http/org/apache/jmeter/protocol/http/parser > HtmlParserHTMLParser.java > Log: > Added scanner; still need to add scanner > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. ___________________________________________________________________________ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. ___________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
