<div dir="ltr">thanks Alexandre but unfortunately it didn&#39;t work<br><br>Do you know if there is a way of forcing MapServer to read out the literal string i.e. sort of like escaping it?&nbsp; in .NET you can say @stringvariable and it will ignore quotes inside etc?<br>
<br>Cheers<br>Mike<br><br><div class="gmail_quote">2008/7/18 Alexandre Dube &lt;<a href="mailto:adube@mapgears.com">adube@mapgears.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Mike,<br>
<br>
&nbsp;I&#39;m not sure about that, but try eq instead of =<br>
<br>
&nbsp;EXPRESSION (&#39;[TRAFFIC_TYPE]&#39; eq &#39;Lane Closure&#39; OR ...<br>
<br>
Best Regards,<br>
Alexandre<br>
<br>
Mike Saunt wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi All<br>
<br>
I&#39;ve got a MapFile that used to work fine in v4.10 but now fails in v5.0<br>
<br>
Basically the CLASSITEM field has double quote in field value and this is then returning an error - msEvalExpression: Expression parser error. Failed to parse expression<br>
<br>
The CLASS EXPRESSION looks like this<br>
 &nbsp; &nbsp; &nbsp; &nbsp;CLASSITEM &#39;TRAFFIC_TYPE&#39; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp;CLASS<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EXPRESSION (&#39;[TRAFFIC_TYPE]&#39; = &#39;Lane Closure&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Multi-Way Signals&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Road Closure&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Stop/Go Boards&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Two-Way Signals&#39;)<br>

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STYLE # Severe (RED)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SYMBOL &#39;triangle&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZE 9<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLOR 255 0 0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUTLINECOLOR 0 0 0<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END<br>
 &nbsp; &nbsp; &nbsp; &nbsp;END<br>
<br>
I&#39;ve tried double quote vs. single quotes in the map file but to no avail<br>
<br>
Anyone any thoughts?<br>
<br>
Kind regards<br>
Mike<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
 &nbsp;<br>
</blockquote>
<br>
<br>
-- <br>
Alexandre Dubé<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">www.mapgears.com</a><br>
<br>
</blockquote></div><br></div>