Hello Eric, That's wrong. Loading WFS-layers from MapServer with OpenLayers works with FF and IE.
(OpenLayers 2.5, MapServer 4.10) http://gis.ibbeck.de/ginfo/apps/OLExamples/SphericalMercator/OL_900913_frame s.html This is the head part of the WFS-response get with Firebug: <?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd http://mapserver.gis.umn.edu/mapserver http://gis.ibbeck.de/ginfo/apps/OLExamples /SphericalMercator/!SphericalMercator.asp&Service=WFS?SERVICE=WFS&VE RSION=1.0.0&REQUEST=DescribeFeatureType &TYPENAME=POLYGONS&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="EPSG:900913"> ... Mit freundlichen Grüssen Arnd Wippermann http://gis.ibbeck.de/ginfo/ -----Ursprüngliche Nachricht----- Von: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Im Auftrag von Eric Lemoine Gesendet: Donnerstag, 25. Oktober 2007 20:22 An: [email protected] Betreff: Re: [UMN_MAPSERVER-USERS] wfs server and encoding On 10/24/07, Milo van der Linden <[EMAIL PROTECTED]> wrote: > I ran in to exactly the same problem, getting the data in UTF-8 was an > absolute " must" in order to get the labels to show up right in a > Flash GIS client. This a must-have for me too as it seems that there's no way to read an ISO-8859-1 encoded XML file using Internet Explorer's ActiveXObject("Microsoft.XMLDOM") javascript object. More concretely, OpenLayers WFS cannot read ISO-8859-1 encoded GML documents served by MapServer WFS! -- Eric
