Re: New JS Body attributes

"Wolfgang Fahl" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Organization BITPlan GmbH
Message-ID <[email protected]>
Russell wrote:> 
> The version of Neko being used is identified in the build.xml; you can 
> get the corresponding source code from the NekoHTML subversion 
> repository. It might well be worthwhile trying to upgrade. 1.9.6 is now 
> available from the maven
You might want to make sure that the Eclipse buildpath 
is also changed. With the 873 subversion version we get 
two test cases failing with 1.9.6.
Our friend testLinkUrlAcrossLineBreaks
fails (the mid-line break actually survives ...)
Here I just changed the expected Result

and
testJavascriptDetectionTrick
fails
	http://nekohtml.sourceforge.net/changes.html
says something about
Version 0.7.5 (02 May 2003) 
	fixed <noscript> bug reported by Takashi Tomokiyo; 

There seems to have been some discussion on this:
http://mail-archives.apache.org/mod_mbox/xerces-j-
users/200209.mbox/%[email protected]%3e

I have been debugging the problem for a few hours now
and in doing so I changed redirectConfigured to make it 
easier for debugging:

    /**
     * check whether redirect is configured
     * @param response
     * @return
     */
    private boolean redirectConfigured( WebResponse response ) {
    	boolean isAutoredirect=getClient().getClientProperties().isAutoRedirect();
    	boolean hasLocation=response.getHeaderField( "Location" ) != null;
    	int responseCode=response.getResponseCode();
    	boolean result=isAutoredirect
      	&& responseCode >= HttpURLConnection.HTTP_MOVED_PERM
      	&& responseCode <= HttpURLConnection.HTTP_MOVED_TEMP
      	&& hasLocation;
      return result;
    }



and it shows that "hasLocation" is false ... but that's 
not the only problem even if I force it to true there 
will be no refresh ...

I've checked in the current version with that one test 
case failing to ask for help from the developer 
community.

Yours
  Wolfgang



BITPlan - smart solutions
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 1805 - BITPLAN / +49 1805 248 752, Fax +49 2154 811-481
Web: http://www.bitplan.de
bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, 
Geschäftsführer: Wolfgang Fahl

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.