[mapserver-users] WFS GetCapabilities does not work with non-ascii characters in mapfile

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Feb 3 01:23:35 PST 2012


Hi,

This should be simple to test and verify.
Write into WEB METADATA parameters

 "wms_title" "test_ö"
 "wfs_title" "test_ö"

WMS 1.1.1 GetGapabilities does not have any trouble with "ö" and request sends back
...
<Service>
  <Name>OGC:WMS</Name>
  <Title>test_ö</Title>
....

However, WFS GetCapabilities response gets truncated. All that Mapserver sends is this

<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:WFS_Capabilities xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogc="http://www.opengis.net/ogc" xmlns="http://www.opengis.net/wfs" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
  <ows:ServiceIdentification>
    <ows:Title>test_


The same error occurs if non-ascii characters are used in "wfs_abstract".
I was testing on Windows and Mapserver 6.0.1.

-Jukka Rahkonen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120203/0ca913c5/attachment.htm>


More information about the MapServer-users mailing list