Hello!
I have the following scenario. When the html page is loaded, it
creates an XMLSocket and sends some data over the socket to the
server. The server in return sends some xml back. Then XMLSocket
calls a javascript function with the data received. However, I have a
problem with the data received in IE. In particular, the server sends
xml of the following form -
<ls:xlate_gro up xmlns:ls="LS" xlate_group="LO BBY" language="en">
<ls:trans xmlns:ls="LS" name="XL_ALL" trans="All"/>
<ls:trans xmlns:ls="LS" name="XL_50" trans="<= 0.50"/>
<ls:trans xmlns:ls="LS" name="XL_100" trans="<= 1.00"/>
<ls:trans xmlns:ls="LS" name="XL_200" trans="<= 2.00"/>
<ls:trans xmlns:ls="LS" name="name" trans="Name"/>
<ls:trans xmlns:ls="LS" name="seats" trans="Seats"/>
<ls:trans xmlns:ls="LS" name="seated" trans="Seated"/>
<ls:trans xmlns:ls="LS" name="XL_LOGOUT " trans="LOGOUT"/>
<ls:trans xmlns:ls="LS" name="XL_LAUNCH " trans="LAUNCH"/>
</ls:xlate_group>
IE6 receives the xml[1] but it does *not* call the javascript
callback. Where can I look or what am I missing?
The action script, briefly, is -
var socket = new XMLSocket();
socket.onData = function(src){
getURL("javascr ipt:SocketOnDat a('"+src+"')") ;
}
socket.onConnec t = function(succes s){
getURL("javascr ipt:SocketOnCon nect('"+success +"')");
}
socket.onClose = function(){
getURL("javascr ipt:SocketOnClo se()");
}
Thanks,
Pradip
[1] - I know that the xml data from the server comes to socket.onData
'coz I put a debug text box logging src and I could see the xml data
in the text box.
I have the following scenario. When the html page is loaded, it
creates an XMLSocket and sends some data over the socket to the
server. The server in return sends some xml back. Then XMLSocket
calls a javascript function with the data received. However, I have a
problem with the data received in IE. In particular, the server sends
xml of the following form -
<ls:xlate_gro up xmlns:ls="LS" xlate_group="LO BBY" language="en">
<ls:trans xmlns:ls="LS" name="XL_ALL" trans="All"/>
<ls:trans xmlns:ls="LS" name="XL_50" trans="<= 0.50"/>
<ls:trans xmlns:ls="LS" name="XL_100" trans="<= 1.00"/>
<ls:trans xmlns:ls="LS" name="XL_200" trans="<= 2.00"/>
<ls:trans xmlns:ls="LS" name="name" trans="Name"/>
<ls:trans xmlns:ls="LS" name="seats" trans="Seats"/>
<ls:trans xmlns:ls="LS" name="seated" trans="Seated"/>
<ls:trans xmlns:ls="LS" name="XL_LOGOUT " trans="LOGOUT"/>
<ls:trans xmlns:ls="LS" name="XL_LAUNCH " trans="LAUNCH"/>
</ls:xlate_group>
IE6 receives the xml[1] but it does *not* call the javascript
callback. Where can I look or what am I missing?
The action script, briefly, is -
var socket = new XMLSocket();
socket.onData = function(src){
getURL("javascr ipt:SocketOnDat a('"+src+"')") ;
}
socket.onConnec t = function(succes s){
getURL("javascr ipt:SocketOnCon nect('"+success +"')");
}
socket.onClose = function(){
getURL("javascr ipt:SocketOnClo se()");
}
Thanks,
Pradip
[1] - I know that the xml data from the server comes to socket.onData
'coz I put a debug text box logging src and I could see the xml data
in the text box.
Comment