The MAP and SYMBOLSET keywords used to be optional at the beginning of mapfiles and symbolsets respectively. With this change, the MAP keyword will be required on the first line of mapfiles and the SYMBOLSET keyword required on the first line of symbolset files. If the keyword is missing then the parser will reject the file.
...first line of a template must contain the “MapServer Template” magic string which can be surrounded by comment delimiters...
Код: Выделить всё
<!-- MapServer Template -->
<html>
<head>...</head>
<body>
...
</body>
</html>