[mapserver-dev] Documentation of variable-substitution missleading
    Stephan Holl 
    stephan.holl at intevation.de
       
    Fri Aug 21 09:49:18 EDT 2009
    
    
  
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090821/86ff8af3/signature.bin
    
    
More information about the mapserver-dev
mailing list