<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear All,<BR>
&nbsp;<BR>
I have encountered a problem while trying to export map files from QGIS using "MapServer Export" plugin. <BR>
The mapfile that I got back cannot be viewed using shp2img utilities. I got an error saying : "msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN validation failed. msEvalRegex(): Regular expression error. String failed expression test. " In addition, when I tried displaying the&nbsp;mapfile obtained from QGIS through openlayers, I got blank gray images. I have also tried removing all the layer info in the mapfile, but still got the same error. <BR>
&nbsp;<BR>
However, if I write a mapfile by myself, then the shp2img utility works fine. Is there any problem with the QGIS MapServer Export plugin? Or have I done anything wrong?<BR>
&nbsp;<BR>
Thanks in advance!<BR>
Scarlett<BR>                                               <br /><hr />Hotmail: Trusted email with Microsoft¡¯s powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>