[mapserver-users] wfs 1.1 capabilities breaks when using special characters

Holger Porath porath at web.de
Fri Oct 22 08:29:47 EDT 2010


Hi list,

mapserver 5.6 breaks when we perform a getcapabilities request for wfs  
1.1. This only happens when the capabilities response contains special  
characters (like the copyright symbol or umlauts). The response is cut  
at the position where the special character is returned:
<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 title</ows:Title>  
<ows:Abstract>test abstract</ows:Abstract> <!--WARNING: Optional  
metadata "ows_keywordlist" was missing for ows:KeywordList-->  
<ows:ServiceType codeSpace="OGC">OGC WFS</ows:ServiceType>  
<ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion><ows:Fees>test  
fees</ows:Fees> <ows:AccessConstraints>copyright

The error log shows the following:
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71]encoding
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71] error :
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71] output  
conversion failed due to conv error, bytes 0xFC 0x6D 0x65 0x72
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71] I/O
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71] error :
[Fri Oct 22 13:57:57 2010] [error] [client 10.6.241.71] encoder error
The strange thing is that for wfs 1.0 the request/response is working  
fine! It is not cut and returned as usual. The issue is only for wfs  
1.1.
Does anyone have any idea?
Thanks in advance.
Holger
-------------------------------------------
Dipl. Wirt. Inform. Holger Porath
Wangeroogestraße 63
45665 Recklinghausen
holger.porath at porath.de


More information about the mapserver-users mailing list