[mapserver-dev] INCLUDE '...' before MAP gives "Unknown
identifier. First token must be MAP..."
Dan Little
danlittle at yahoo.com
Thu May 7 22:31:46 EDT 2009
Um... why not put the outputformats inside of the map tag?
----- Original Message ----
> From: David Fuhry <dfuhry at acm.org>
> To: MapServer Dev Mailing List <mapserver-dev at lists.osgeo.org>
> Sent: Thursday, May 7, 2009 9:24:09 PM
> Subject: Re: [mapserver-dev] INCLUDE '...' before MAP gives "Unknown identifier. First token must be MAP..."
>
> FYI, the attached ill-advised patch, did work for me as a quick-fix.
>
> I commented out the part of the parsers which fails if the the MAP and SYMBOLSET
> tokens are not yet found.
>
> -Dave
>
>
> David Fuhry wrote:
> > 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
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list