Opened 20 years ago
Last modified 20 years ago
#789 new defect
Map file: comments may interfere with EXPRESSIONs
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
I found some interference between #comments behind the EXPRESSION: EXPRESSION ([Riq50] <=1) didn't show while EXPRESSION '1' did Problem identified: Any #comment which contains brackets and parenthesis makes the expression fail (is apparently not understood as comment) unless the expression itself does not contain any brackets and parenthesis. For example: EXPRESSION ([Riq50] >1) # ([Riq50] >1) - fails and EXPRESSION ([Riq50] >1) # ('[Utm50km]' = 'VH4') - fails while EXPRESSION '1' # ([Riq50] >1) - is OK and EXPRESSION ([Riq50] >1) - is OK In the first two cases there are parenthesis and brackets, both in the expression and in the comment. Funny thing. Stefanie
Change History (1)
comment:1 by , 20 years ago
Component: | MapServer Documentation → MapServer C Library |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.