Hi All<br><br>For completeness I thought I'd let people know - I've got this solved now - I wasn't on the 5.0 release version (doh!) and map file is like this to let any query through<br><br> METADATA<br>
qstring_validation_pattern '.'<br> END<br><br><br>Thanks<br>Mike<br><br><br><br><div><span class="gmail_quote">On 28/09/2007, <b class="gmail_sendername">Umberto Nicoletti</b> <<a href="mailto:umberto.nicoletti@gmail.com">
umberto.nicoletti@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try:<br><br>/.*/<br><br>On 9/28/07, Mike Saunt <
<a href="mailto:mikesaunt@gmail.com">mikesaunt@gmail.com</a>> wrote:<br>> Hi All<br>><br>> I sent this out earliler in the week - has anyone used a 'qstring' in<br>> MapServer 5.0 where the pattern should be able to match any string? I can't
<br>> seem to get it to work even though I get messages back such as Failed to<br>> parse expression: Mendip = Mendip msyyparse(): Expression parser error.<br>> 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>> Hi All<br>><br>> I was wondering whether anyone has an example of the METADATA key for
<br>> qstring_validation_pattern that is required for v5.0 layers that are to be<br>> attribute queried?<br>><br>> I would like to be able to accept any string (as through my app you can't<br>> inject the values)
<br>><br>> I've tried the following qstring_validation_pattern /^[0-9]*$/ and<br>> qstring_validation_pattern '.' but neither seem to match (the first throws a<br>> symbol definition error):<br>>
<br>> LAYER<br>> NAME Ward<br>> TYPE POLYGON<br>> STATUS OFF<br>> CONNECTIONTYPE OGR<br>> CONNECTION<br>> "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>> Mike<br>><br></blockquote></div><br>