Adding an extra check for IE, where request.responseXML is true on occasion even if the documentElement doesn't exist. r=crschmidt (closes #1428)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6573 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -131,8 +131,8 @@ OpenLayers.Layer.GeoRSS = OpenLayers.Class(OpenLayers.Layer.Markers, {
|
||||
*/
|
||||
parseData: function(ajaxRequest) {
|
||||
var doc = ajaxRequest.responseXML;
|
||||
if (!doc) {
|
||||
doc = OpenLayers.parseXMLString(ajaxRequest.responseText);
|
||||
if (!doc || !doc.documentElement) {
|
||||
doc = OpenLayers.Format.XML.prototype.read(ajaxRequest.responseText);
|
||||
}
|
||||
|
||||
if (this.useFeedTitle) {
|
||||
|
||||
Reference in New Issue
Block a user