Opened 22 years ago

Closed 22 years ago

#167 closed defect (fixed)

Logical expression error

Reported by: jeeyoung.lee@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 3.6
Severity: normal Keywords:
Cc:

Description

Logical expression below is not working...
If I'm correct, expression below should return all cities, but Mapserver 
doesn't return anything

EXPRESSION (('[CITY_NAME]'='Bigfork' AND [ACRES]=1021.693) OR  
('[CITY_NAME]'='Effie' AND [ACRES]Eq3577.986) OR '[CITY_NAME]'='Warba' 
OR '[CITY_NAME]'='Bovey') COLOR 225 225 90 TEMPLATE "mcd90py2.html" END

Change History (1)

comment:1 by sdlime, 22 years ago

Resolution: fixed
Status: newclosed
I think I've nailed this one. Not a trivial fix. The error was not related to
the parser/lexer but in how expressions were parsed for item substitution
strings. Duplicate items were not handled properly in some instances. The test
expression provided now works anyway.
Note: See TracTickets for help on using tickets.