This is a MapServer question, not an OpenLayers question. You will have
more chances to get an answer on the MapServer mailing-list:
http://mapserver.org/community/lists.html#mapserver-users
BTW, you have an extra COLOR argument after the END tag of the style.
This may cause a problem.
Julien
i am trying to automatically classify population data without hardcoding the
classes in the mapfile.
i have tried to use this code below to classify:
STYLE
COLORRANGE 0 0 0 255 255 0 # black to yellow
DATARANGE 0.0 100.0
RANGEITEM built_up_
END
COLOR 100 255 0
pliz assist