[mapserver-dev] Documentation of variable-substitution missleading
Steve Lime
Steve.Lime at dnr.state.mn.us
Fri Aug 21 10:38:15 EDT 2009
Thanks for the note. I fixed in 5.4 (drives current site) and trunk
(both en and de sections).
Steve
>>> Stephan Holl <stephan.holl at intevation.de> 8/21/2009 8:49 AM >>>
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.
TIA
Stephan
--
Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508
3663
Intevation GmbH, Neuer Graben 17, 49074 OS | AG Osnabrück - HR B
18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver
Wagner
More information about the mapserver-dev
mailing list