Opened 15 years ago
Closed 15 years ago
#3102 closed defect (fixed)
Variable substitution docs missleading
Reported by: | sholl | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation - MapServer | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi 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.
Fixed in 5.4 branch and truck (en and de versions).
Steve