|
View:
New views
18 Messages
—
Rating Filter:
Alert me
|
|
|
Firefox 3 and URLHello,
I'm using Cocoon 2.1.7/Jetty. My web application works on every browser with every version except Firefox 3.0. Firebug helps me to find the problem : ->Firefox 2 : GET http://erules.bureauveritas.com/dy/browse/imo/codes/fss/fss_2001/toc/n0001.xml ->Firefox 3 : GET http://erules.bureauveritas.com/dy/browse/undefined%20(undefined)/codes/fss/fss_2001/toc/n0001.xml The string imo of the url is now undefined%20(undefined). So, firefox 3.0 can't translate well url. I have carefully check all my sitemap if there's no whitespace. And there is no whitespace. Do you have some suggestions? Thanks, Alexandre |
|
|
RE: Firefox 3 and URLHow do you create your URI's? Is it a browser selector in the sitemap, a parameter in XSLT, some javascript?
________________________________ Van: Alexandre Mazouz [mailto:alexandre.mazouz@...] Verzonden: di 1-7-2008 11:47 Aan: users@... Onderwerp: Firefox 3 and URL Hello, I'm using Cocoon 2.1.7/Jetty. My web application works on every browser with every version except Firefox 3.0. Firebug helps me to find the problem : ->Firefox 2 : GET http://erules.bureauveritas.com/dy/browse/imo/codes/fss/fss_2001/toc/n0001.xml ->Firefox 3 : GET http://erules.bureauveritas.com/dy/browse/undefined%20(undefined)/codes/fss/fss_2001/toc/n0001.xml The string imo of the url is now undefined%20(undefined). So, firefox 3.0 can't translate well url. I have carefully check all my sitemap if there's no whitespace. And there is no whitespace. Do you have some suggestions? Thanks, Alexandre -- View this message in context: http://www.nabble.com/Firefox-3-and-URL-tp18212745p18212745.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: Firefox 3 and URLMy URI comes from javascript.
I'm also using sarissa 0.9.4.4.
|
|
|
Re: Firefox 3 and URLHi Alexandre,
then I guess you should start looking at the sarissa code then generates this url. I have not seen this problem with cocoon before, and since firebug reports it as the request, then it must be your javascript code somehow. Regards, Jeroen Alexandre Mazouz wrote: > My URI comes from javascript. > > I'm also using sarissa 0.9.4.4. > > > Jasha Joachimsthal-2 wrote: >> How do you create your URI's? Is it a browser selector in the sitemap, a >> parameter in XSLT, some javascript? >> >> >> ________________________________ >> >> Van: Alexandre Mazouz [mailto:alexandre.mazouz@...] >> Verzonden: di 1-7-2008 11:47 >> Aan: users@... >> Onderwerp: Firefox 3 and URL >> >> >> >> >> Hello, >> >> I'm using Cocoon 2.1.7/Jetty. >> >> My web application works on every browser with every version except >> Firefox >> 3.0. >> >> Firebug helps me to find the problem : >> >> ->Firefox 2 : GET >> http://erules.bureauveritas.com/dy/browse/imo/codes/fss/fss_2001/toc/n0001.xml >> ->Firefox 3 : GET >> http://erules.bureauveritas.com/dy/browse/undefined%20(undefined)/codes/fss/fss_2001/toc/n0001.xml >> >> The string imo of the url is now undefined%20(undefined). So, firefox 3.0 >> can't translate well url. >> >> I have carefully check all my sitemap if there's no whitespace. And there >> is >> no whitespace. >> >> Do you have some suggestions? >> >> Thanks, >> Alexandre >> >> -- >> View this message in context: >> http://www.nabble.com/Firefox-3-and-URL-tp18212745p18212745.html >> Sent from the Cocoon - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLOkay, it seems that getElementsByTagName() has different behavior in FireFox 2.0 and Firefox 3.0.
why? i don't know may be to give us more bug to fix.
|
|
|
Re: Firefox 3 and URLWell I hope not :-)
Good that you figured it out though! Jeroen Alexandre Mazouz wrote: > Okay, it seems that getElementsByTagName() has different behavior in FireFox > 2.0 and Firefox 3.0. > > why? i don't know may be to give us more bug to fix. > > > Jeroen Reijn-3 wrote: >> Hi Alexandre, >> >> then I guess you should start looking at the sarissa code then generates >> this url. I have not seen this problem with cocoon before, and since >> firebug reports it as the request, then it must be your javascript code >> somehow. >> >> Regards, >> >> Jeroen >> >> >> >> Alexandre Mazouz wrote: >>> My URI comes from javascript. >>> >>> I'm also using sarissa 0.9.4.4. >>> >>> >>> Jasha Joachimsthal-2 wrote: >>>> How do you create your URI's? Is it a browser selector in the sitemap, a >>>> parameter in XSLT, some javascript? >>>> >>>> >>>> ________________________________ >>>> >>>> Van: Alexandre Mazouz [mailto:alexandre.mazouz@...] >>>> Verzonden: di 1-7-2008 11:47 >>>> Aan: users@... >>>> Onderwerp: Firefox 3 and URL >>>> >>>> >>>> >>>> >>>> Hello, >>>> >>>> I'm using Cocoon 2.1.7/Jetty. >>>> >>>> My web application works on every browser with every version except >>>> Firefox >>>> 3.0. >>>> >>>> Firebug helps me to find the problem : >>>> >>>> ->Firefox 2 : GET >>>> http://erules.bureauveritas.com/dy/browse/imo/codes/fss/fss_2001/toc/n0001.xml >>>> ->Firefox 3 : GET >>>> http://erules.bureauveritas.com/dy/browse/undefined%20(undefined)/codes/fss/fss_2001/toc/n0001.xml >>>> >>>> The string imo of the url is now undefined%20(undefined). So, firefox >>>> 3.0 >>>> can't translate well url. >>>> >>>> I have carefully check all my sitemap if there's no whitespace. And >>>> there >>>> is >>>> no whitespace. >>>> >>>> Do you have some suggestions? >>>> >>>> Thanks, >>>> Alexandre >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Firefox-3-and-URL-tp18212745p18212745.html >>>> Sent from the Cocoon - Users mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLHave you checked that the DOCTYPE being returned by Cocoon is identical
between Firefox 2 and 3? I just wondered if when you use Firefox 3 Cocoon serves a page in quirks mode or application/xml+xhtml or something else which would make getElementsByTagName() behave differently. David Legg Alexandre Mazouz wrote: > Okay, it seems that getElementsByTagName() has different behavior in FireFox > 2.0 and Firefox 3.0. > > why? i don't know may be to give us more bug to fix. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLAlexandre Mazouz wrote:
> Okay, it seems that getElementsByTagName() has different behavior in FireFox > 2.0 and Firefox 3.0. > > why? i don't know may be to give us more bug to fix. The handling of namespaces has changed form FF2 to FF3, here's a code fragment than handles both IE and FF (it ignores the namespace for FF2/3 and uses the prefix for IE6/7): /* Browser-dependent way of returning all <tag> tags from <elm> element with <prefix> namespace prefix */ function getElementsByTagNameNoNS(elm, tag, prefix) { if ( is_ie6up ) { return elm.getElementsByTagName(prefix + ":" + tag); } return elm.getElementsByTagNameNS("*", tag); } Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLI want to redefine the "standard" getElementsByTagName with your getElementsByTagNameNoNS.
Do you know where can i make it?
|
|
|
Re: Firefox 3 and URLAlexandre Mazouz wrote:
> I want to redefine the "standard" getElementsByTagName with your > getElementsByTagNameNoNS. > > Do you know where can i make it? Sorry, but I haven't understood what you meant: could you please rephrase ? -------------------- Luca Morandini www.lucamorandini.it -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLSorry,
i have : xElt.getElementsByTagName(...); xElt is a XMLElement. i want to use your function instead of getElementsByTagName but i don't know how can i make it. Thanks,
|
|
|
Re: Firefox 3 and URLAlexandre Mazouz wrote:
> Sorry, > > i have : xElt.getElementsByTagName(...); > > xElt is a XMLElement. > > i want to use your function instead of getElementsByTagName but i don't know > how can i make it. Hmm... as I see it, there is only one way: change every instance of xElt.getElementsByTagName("pipeline") to getElementsByTagNameNoNS(xElt, "pipeline", "map") either manually or using your editor of choice search&replace. Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLIn Javascript you can use prototype to redeclare functions of an object.
I wonder if it works though with core libraries or if they aren't locked. Joerg On 02.07.2008 08:48, Luca Morandini wrote: >> i have : xElt.getElementsByTagName(...); >> >> xElt is a XMLElement. >> >> i want to use your function instead of getElementsByTagName but i >> don't know >> how can i make it. > > Hmm... as I see it, there is only one way: change every instance of > xElt.getElementsByTagName("pipeline") to getElementsByTagNameNoNS(xElt, > "pipeline", "map") either manually or using your editor of choice > search&replace. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URLThanks for your help,
I have advanced in my debug job but not finished. I will try to redeclare functions of a core librairies.
|
|
|
Re: Firefox 3 and URLHello,
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 |
|
|
Re: Firefox 3 and URLOkay,
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
|
|
|
Re: Firefox 3 and URL2008/8/4 Alexandre Mazouz <alexandre.mazouz@...>:
> > 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? Given the point of a HEAD request is to fetch the response headers without the actual body [1], I'm surprised you expected responseXML to contain anything in the first place. Are you sure the XHR open("HEAD", ...) in FF2 is actually sending a HEAD and not using a GET anyway? It could be that version doesn't support HEAD and falls back on the other method, and they've improved things by v3. I'd be tempted to try a packet sniffer or the Live HTTP Headers extension to see exactly what gets sent & received. Also check the web server access logs to see what method it thinks was used in each case. I'd be surprised if the server responded differently to HEAD requests according to the browser version, returning the content body in one case and not the other. What server software are you using anyway? Andy. [1] http://en.wikipedia.org/wiki/HTTP_HEAD_request#Request_methods -- http://pseudoq.sourceforge.net/ Open source java Sudoku application --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Firefox 3 and URL
by Alexandre Mazouz
::
Rate this Message:
|