<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
turn the&nbsp;error&nbsp;script messaging "on" in IE (somewhere&nbsp;at tools/internet options/ advanced). <BR>
Then when the error occurs it will inform you the exact line of the code that is causing the error.<BR>
Usually, IE has javascript problems with spaces and commas.<BR>
&nbsp;<BR>
Andre<BR>&nbsp;<BR>&gt; Date: Tue, 19 May 2009 16:48:53 +0000<BR>&gt; From: weitstern@yahoo.com<BR>&gt; To: users@openlayers.org<BR>&gt; Subject: [OpenLayers-Users] [OpenLayers-Dev] Help: loadURL in IE failed<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Hello all,<BR>&gt; <BR>&gt; <BR>&gt; i develope one site mit OL, it runs good in FF, but stops in IE, <BR>&gt; and maybe stops for: <BR>&gt; <BR>&gt; OpenLayers.loadURL(url, null, this, parseGetCapabilities);<BR>&gt; <BR>&gt; it returns 'Request failed'. <BR>&gt; <BR>&gt; So i tried to change, because the site should also run in IE, first : <BR>&gt; var request = OpenLayers.Request.GET({<BR>&gt; url: url,<BR>&gt; callback: parseGetCapabilities});<BR>&gt; <BR>&gt; It succeed still only in FF, the IE said that the object doesn't support the charcter. <BR>&gt; <BR>&gt; <BR>&gt; Dann i changed it again: <BR>&gt; var client =new OpenLayers.Request.XMLHttpRequest();<BR>&gt; client.open("GET", url);<BR>&gt; client.send();<BR>&gt; <BR>&gt; if(client.readyState == 4 &amp;&amp; client.status == 200) {<BR>&gt; <BR>&gt; // so far so good<BR>&gt; alert('responseXML' + client.responseXML);<BR>&gt; if(client.responseXML != null){<BR>&gt; parseGetCapabilities(client.responseXML);<BR>&gt; <BR>&gt; } else if (client.readyState == 4 &amp;&amp; client.status != 200) {<BR>&gt; // fetched the wrong page or network error...<BR>&gt; alert('XMLHttpRequest errors. ');<BR>&gt; }<BR>&gt; }<BR>&gt; <BR>&gt; This doesn't run both in FF and IE, in FF the readyState returned 4 and status was 404 and reponseXML was null, in IE the readyState = 1 and status was 404 and reponseXML was null. <BR>&gt; <BR>&gt; Could somebody kindly help me? Since i worked on this problem already several weeks, and still can't find a way.<BR>&gt; <BR>&gt; Thank you very much!<BR>&gt; <BR>&gt; <BR>&gt; Best regards,<BR>&gt; Tanpopo<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; Users@openlayers.org<BR>&gt; http://openlayers.org/mailman/listinfo/users<BR><br /><hr />Quer uma internet mais segura? <a href='http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8' target='_new'>Baixe agora o novo Internet Explorer 8. É grátis!</a></body>
</html>