Hi All<br><br>I sent this out earliler in the week - has anyone used a 'qstring' in MapServer 5.0 where the pattern should be able to match any string? I can'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't inject the values)
<br><br>I've tried the following qstring_validation_pattern /^[0-9]*$/ and qstring_validation_pattern '.' but neither seem to match (the first throws a symbol definition error):<br><br>LAYER <br> NAME Ward
<br> TYPE POLYGON<br> STATUS OFF<br> CONNECTIONTYPE OGR<br> CONNECTION "Overlays\CouncilDemocracy\Ward_Boundaries_2004.TAB"<br> TOLERANCEUNITS METERS<br> METADATA<br> qstring_validation_pattern '.'
<br> END<br> CLASS<br> STYLE<br> COLOR -1 -1 -1<br> END<br> STYLE<br> OUTLINECOLOR 0 0 0<br> WIDTH 2<br> END<br> END
<br>
END<br><br>I've also tried as TYPE QUERY...<br><br>Any help would be greatly appreciated<br><br>Cheers<br><span class="sg">Mike<br>
</span>