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>Mike<br>