[mapserver-dev] Documentation of variable-substitution missleading

Stephan Holl stephan.holl at intevation.de
Mon Aug 24 03:08:41 EDT 2009


Hello Jeff,

Jeff McKenna <jmckenna at gatewaygeomatics.com>, [20090821 - 11:37:20]

> 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.

OK, thanks for looking into this.

Find the bug here:
http://trac.osgeo.org/mapserver/ticket/3102

Best

	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/20090824/c4c390a3/signature.bin


More information about the mapserver-dev mailing list