<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN
class=109341113-04042011>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=109341113-04042011></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>We have shapefiles
with a string type attribute field and the values in that field are numbers
separated with points, for example '04.186.1.004'. Now we
have troubles with doing </SPAN></FONT><FONT size=2
face=Arial><SPAN class=109341113-04042011>SLD filtering by the
values.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011></SPAN></FONT><FONT
size=2 face=Arial><SPAN class=109341113-04042011></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>This filter does not
work</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=109341113-04042011><ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>JARVINUMER</ogc:PropertyName><ogc:Literal>04.186.1.004</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=109341113-04042011></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>I can make the SLD
to work by editing the source data so that the JARVINUMER is like
K04.186.1.004 or 041861004 and changing the filter accordingly.
Editing shapefile to have the attribute value like 4.186.1.004 makes SLD to fail
again.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=109341113-04042011></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>I tried what
happens when I filter the layer in the mapfile by adding a CLASSITEM and
EXPRESSION and ask Mapserver to send GetStyles for this filtered
layer. The result was exactly the same than my original filter (or
almost, Mapserver is sending the PropertyName as lower case
><ogc:PropertyName>jarvinumer</ogc:PropertyName>). Both upper
case and lower case PropertyNames do work in the filter. I am not
sure if they should but my main problem is that the filter with
number-dot-number-dot-number does not work at all. </SPAN></FONT><FONT size=2
face=Arial><SPAN class=109341113-04042011><SPAN lang=FI>Is this possibly
something worth making a bug report? The Mapserver versions I was playing
with were 5.6 and 6.0 beta4. They behaved in a similar
way.</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011><SPAN
lang=FI></SPAN></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011><SPAN
lang=FI></SPAN></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011><SPAN lang=FI>-Jukka
Rahkonen-</DIV></SPAN></SPAN></FONT></BODY></HTML>