Hi All<br><br>I sent this out earliler in the week - has anyone used a &#39;qstring&#39; in MapServer 5.0 where the pattern should be able to match any string?&nbsp; I can&#39;t seem to get it to work even though I get messages back such as Failed to parse expression: Mendip = Mendip
msyyparse(): Expression parser error. parse error
msEvalExpression: Expression parser error.<br><br>Would there be any examples in the test cases / data etc?<br><br>Any help appreciated!!<br>Cheers<br>Mike<br><br><br><span class="gmail_quote"></span>Hi All<br><br>I was wondering whether anyone has an example of the METADATA key for qstring_validation_pattern that is required for 
v5.0 layers that are to be attribute queried?<br><br>I would like to be able to accept any string (as through my app you can&#39;t inject the values)
<br><br>I&#39;ve tried the following qstring_validation_pattern /^[0-9]*$/ and qstring_validation_pattern &#39;.&#39; but neither seem to match (the first throws a symbol definition error):<br><br>LAYER <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME Ward
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTION &quot;Overlays\CouncilDemocracy\Ward_Boundaries_2004.TAB&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TOLERANCEUNITS METERS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; qstring_validation_pattern &#39;.&#39;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; COLOR -1 -1 -1<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; WIDTH 2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END
<br>
&nbsp;&nbsp;&nbsp; END<br><br>I&#39;ve also tried as TYPE QUERY...<br><br>Any help would be greatly appreciated<br><br>Cheers<br><span class="sg">Mike<br>
</span>