-
Notifications
You must be signed in to change notification settings - Fork 72
Parsing of some GetCapabilities fails on IE9 #223
Comments
Could be. We had similar things in the past. See my comment (#3) here: https://redmine.bgdi.admin.ch/issues/5033 Maybe this is also related: |
@oterral What is the status of this problem ? |
I'm setting OL3 in a virtual windows to debug this issue |
Doesn't seem an OL problem, more probably an encoding file problem. The error occurs when IE try to parse a file with goog.dom.loadXml : ´(new DOMParser).parseFromString(xml, "application/xml") |
I confirm. IE9 failed parsing file in GetCapabilities defined as ISO-8859-1 |
Please check in current map.geo.admin.ch. If it doesn't work, we can close it |
It works on map.geo.admin.ch, so I continue to dig |
Ok in RE2 it works because the old ogcproxy manage content encoding. if content.find('encoding=') > 0:
m = re.search("encoding=\"(.*?)\\\"",content)
try:
data = content.decode(m.group(1))
except Exception:
abort(406)
return data.encode('utf-8')
else:
return content |
@oterral, do you have a URL to a WMS capabilities document IE 9 fails to parse? |
Fixed with geoadmin/mf-chsdi3#124 |
In Import WMS component parsing of some WMS GetCapabilities failed:
ol3 problems?
The text was updated successfully, but these errors were encountered: