In the layers that load data from xml stream, we always check the fileType like this:<br><br>requestSuccess:function(request) {<br> if (this.features) {<br> var doc = request.responseXML;<br> <br>
if (!doc || request.fileType!="XML") {<br> doc = OpenLayers.parseXMLString(request.responseText);<br> }<br>......<br><br>I tested on IE6 and firefox2, the fileType is undefined, and this will force re-parse the xml string.<br clear="all">
<br>-- <br>Li XinGang<br>EMail: <a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a><br>Blog: <a href="http://avlee.cnblogs.com">avlee.cnblogs.com</a><br>Site: <a href="http://www.mapboost.org.cn">www.mapboost.org.cn</a>