<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-postmall17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SV link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi there!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am using the ogc:function parseDouble in my SLD in OpenLayers. It seems to not work in OpenLayers (it works in GeoServer for WMS) for my WFS layers. Is this a bug? In that case, is there a workaround so that I can use my propertyIsBetween filter for string properties?<o:p></o:p></p><p class=MsoNormal>Example from SLD below. The rule should match where 3 >= ROAD_WIDTH >= 0, but it doesn't.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <Rule><o:p></o:p></p><p class=MsoNormal> <Title>RoadWidth from 0 to 3 meters</Title><o:p></o:p></p><p class=MsoNormal> <ogc:Filter><o:p></o:p></p><p class=MsoNormal> <ogc:PropertyIsBetween><o:p></o:p></p><p class=MsoNormal> <ogc:Function name="parseDouble"><ogc:PropertyName>ROAD_WIDTH</ogc:PropertyName></ogc:Function> <o:p></o:p></p><p class=MsoNormal> <ogc:LowerBoundary><o:p></o:p></p><p class=MsoNormal> <ogc:Literal>0</ogc:Literal><o:p></o:p></p><p class=MsoNormal> </ogc:LowerBoundary><o:p></o:p></p><p class=MsoNormal> <ogc:UpperBoundary><o:p></o:p></p><p class=MsoNormal> <ogc:Literal>3</ogc:Literal><o:p></o:p></p><p class=MsoNormal> </ogc:UpperBoundary><o:p></o:p></p><p class=MsoNormal> </ogc:PropertyIsBetween><o:p></o:p></p><p class=MsoNormal> </ogc:Filter><o:p></o:p></p><p class=MsoNormal> <LineSymbolizer><o:p></o:p></p><p class=MsoNormal> <Stroke><o:p></o:p></p><p class=MsoNormal> <CssParameter name="stroke"><o:p></o:p></p><p class=MsoNormal> <ogc:Literal>#008000</ogc:Literal><o:p></o:p></p><p class=MsoNormal> </CssParameter><o:p></o:p></p><p class=MsoNormal> <CssParameter name="stroke-width"><o:p></o:p></p><p class=MsoNormal> <ogc:Literal>2</ogc:Literal><o:p></o:p></p><p class=MsoNormal> </CssParameter><o:p></o:p></p><p class=MsoNormal> </Stroke><o:p></o:p></p><p class=MsoNormal> </LineSymbolizer><o:p></o:p></p><p class=MsoNormal> </Rule><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kind regards,<o:p></o:p></p><p class=MsoNormal>Gottfrid Linge<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=9 width="100%" noshade style='color:#707998' align=center></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=720 style='width:432.0pt'><tr style='height:47.55pt'><td width=425 valign=top style='width:255.0pt;padding:3.0pt 3.0pt 3.0pt 3.0pt;height:47.55pt'><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:3.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Gottfrid Linge</span></b><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Senior System Developer<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Tel: +46 706 904888<br></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="mailto:gottfrid.linge@astando.se"><span lang=EN-US style='color:blue'>gottfrid.linge@astando.se</span></a></span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></td><td width=295 valign=top style='width:177.0pt;padding:3.0pt 3.0pt 3.0pt 3.0pt;height:47.55pt'><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:3.0pt'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Astando AB<o:p></o:p></span></b></p><p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hantverkargatan 5<br>112 21 Stockholm<br><a href="blocked::http://www.astando.se" title="http://www.astando.se"><span style='color:blue'>www.astando.se</span></a></span><span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr></table><div class=MsoNormal align=center style='text-align:center'><span style='font-size:6.0pt;font-family:"Arial","sans-serif"'><hr size=6 width="100%" noshade style='color:#7E9F42' align=center></span></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:6.0pt;font-family:"Arial","sans-serif"'><hr size=15 width="100%" noshade style='color:#9E7340' align=center></span></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>