[mapserver-dev] INCLUDE '...' before MAP gives "Unknown identifier. First token must be MAP..."

David Fuhry dfuhry at acm.org
Thu May 7 21:55:18 EDT 2009


Some recent update seems to have broken the ability to have INCLUDEs in 
a mapfile before the MAP clause.  I normally use an INCLUDE which brings 
in a bunch of OUTPUTFORMATs, before beginning the MAP tag.

Mapfile:

INCLUDE "outputformat.map.frag"

MAP
   ...
END


gives:

msLoadMap(): Unknown identifier. First token must be MAP, this doesn't 
look like a mapfile.

I moved to svn HEAD from a build made a few months ago; it was fine 
then.  Would appreciate a pointer to the bug #, if this problem is known.

-Dave


More information about the mapserver-dev mailing list