[mapserver-dev] Documentation of variable-substitution missleading

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Aug 21 10:37:20 EDT 2009


Stephan Holl wrote:
> Dear mapserver-devs,
> 
> while playing with variable-substitution of mapserver I found the docs
> under 
> 
> http://mapserver.org/cgi/runsub.html
> 
> missleading.
> 
> I managed to make the validation when changing the *_string into
> *_pattern to make it work:
> 
> did not work:
> METADATA
>     'multimedia_validation_string' '^yes|no$'
>     'sound_validation_string' '^yes|no$'
>     'nseats_validation_string' '^[0-9]{1,2}$'
>     '... more metadata ...'
> END
> 
> did work:
> METADATA
>     'multimedia_validation_pattern' '^yes|no$'
>     'sound_validation_pattern' '^yes|no$'
>     'nseats_validation_pattern' '^[0-9]{1,2}$'
>     '... more metadata ...'
> END
> 
> btw, I used the substitution inside the CONNECTION-parameter to swith
> databases.
> 
> Could you please update the docs.
> 

Stephan,

Please file this documentation change as a ticket 
(http://trac.osgeo.org/mapserver/), using the "MapServer Documentation" 
component - otherwise this email will be forgotten.

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-dev mailing list