Okay,

My problem is now fixed.

Instead of using HEAD request, i have used GET request :
 
this.xmlHttp.open("GET", resourceName, false);
this.xmlHttp.send(null);

I think that Firefox 2.0 and Firefox 3.0 have different behaviour of how to
handle request.

For FF3 
*In the case of this.xmlHttp.open("HEAD", resourceName, false); : i have no
responseXML (null)
*In the case of this.xmlHttp.open("GET", resourceName, false); : i have
responseXML

For FF2
*In the case of this.xmlHttp.open("HEAD", resourceName, false); : i have
responseXML
*In the case of this.xmlHttp.open("GET", resourceName, false); : i have
responseXML

Why this different behavior?

Thanks,
Alexandre


Alexandre Mazouz wrote:
> 
> Hello,
> 
> After a lot of debugging and other things, i have found a new problem with
> FF3.
> In FF2, IE6, IE7 it works fine but not in FF3.
> 
> *******************************
> if (!this.xmlHttp) {
> this.xmlHttp = Sarissa.getXmlHttpRequest();
> }
> this.xmlHttp.open("HEAD", resourceName, false);
> this.xmlHttp.send(null);
> return (this.xmlHttp.status == 200 && this.xmlHttp.responseXML);
> *******************************
> the resourceName is "/dy/browse/bv/nr500/nr500_2008/loc/n0001.xml".
> the statusText is "OK" and status 200.
> 
> i have no responseXML.
> 
> something seems strange is that when the this.xmlHttp.open is done, i have
> the this.xmlHttp.statusText=this.xmlHttp.channel
> 
> all seems to be fine but i get nothing in FF3 (responseXML=null).
> 
> Is there any idea from where is the problem and how to fix it?
> 
> Thanks,
> Alexandre
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Firefox-3-and-URL-tp18212745p18809075.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to