Ticket #138 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

WFS layers do not work in IE

Reported by: erik.konijnenburg@… Owned by: euzuro
Priority: major Milestone: 2.2 Release
Component: general Version:
Keywords: WFS IE XML Cc:
State:

Description

in Tile/WFS.js you find

var resultFeatures = doc.getElementsByTagName("featureMember");

the actual tag should be "gml:featureMember" in IE

in Feature/WFS.js you find in processXMLNode

var point = xmlNode.getElementsByTagName("Point")

the actual tag should be "gml:Point" in IE

The next line reads

var text = point[0].textContent

this should be

var text = point[0].text

in IE

use something like <script> function getXmlNodeValue(xmlNode){

return Try.these(

function() {return xmlNode.text;}, function() {return xmlNode.textContent;) );

} </script>

Change History

Changed 7 years ago by euzuro

  • owner set to euzuro
  • status changed from new to assigned

implemented a version of last suggestion here in r1186

Changed 7 years ago by euzuro

  • status changed from assigned to new
  • milestone set to Release 2.1

Changed 7 years ago by euzuro

  • status changed from new to assigned

Changed 7 years ago by crschmidt

  • milestone changed from 2.1 Release to 2.2 Release

Changed 7 years ago by crschmidt

  • status changed from assigned to closed
  • resolution set to fixed

WFS layers now work in Firefox, IE, Safari.

Note: See TracTickets for help on using tickets.