<!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>&nbsp;</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&nbsp;&nbsp;'04.186.1.004'. Now we 
have&nbsp;troubles with&nbsp;doing&nbsp;</SPAN></FONT><FONT size=2 
face=Arial><SPAN class=109341113-04042011>SLD filtering&nbsp;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>&nbsp;</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>&lt;ogc:Filter&gt;&lt;ogc:PropertyIsEqualTo&gt;&lt;ogc:PropertyName&gt;JARVINUMER&lt;/ogc:PropertyName&gt;&lt;ogc:Literal&gt;04.186.1.004&lt;/ogc:Literal&gt;&lt;/ogc:PropertyIsEqualTo&gt;&lt;/ogc:Filter&gt;</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=109341113-04042011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>I can make the SLD 
to work by editing&nbsp;the source data so that the JARVINUMER is like 
K04.186.1.004 or 041861004 and changing&nbsp;the filter accordingly.&nbsp; 
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>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011>I tried what 
happens&nbsp;when I filter the layer in the mapfile by adding a CLASSITEM and 
EXPRESSION and&nbsp;ask Mapserver to send GetStyles for this filtered 
layer.&nbsp; The result&nbsp;was exactly the same than my original filter (or 
almost, Mapserver is sending the PropertyName as lower case 
&gt;&lt;ogc:PropertyName&gt;jarvinumer&lt;/ogc:PropertyName&gt;). Both upper 
case and lower case PropertyNames&nbsp;do work&nbsp;in the filter.&nbsp;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?&nbsp; 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>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011><SPAN 
lang=FI></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=109341113-04042011><SPAN lang=FI>-Jukka 
Rahkonen-</DIV></SPAN></SPAN></FONT></BODY></HTML>