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

Yewondwossen Assefa yassefa at dmsolutions.ca
Fri Oct 22 06:35:35 PDT 2010


Hi,

  This is probably related to encoding issues with libxml2 described in 
http://trac.osgeo.org/mapserver/ticket/3297
  Some items are still missing the encoding conversion.  If there is no 
sensitive info in your map, It would be nice to attach it to the bug so 
It can be tested.

regards,

On 22/10/2010 8:29 AM, Holger Porath wrote:
> 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_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: yassefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the MapServer-users mailing list