<P>I have an web application using MapServer version 3.11.<BR>I've tryed to upgrade to MapServer 3.5 but itemquery does not work <BR>at all.<BR> Example 3 for itemquery in MapServer test suite uses version 3.11.<BR> I've modified the map file by removing QUERY and moving template <BR>in CLASS body.<BR>Following message appears: "msQueryByAttributes(): Query error. <BR>Requested layer has no filter defined. "<BR>Could anyone make <BR><A href="http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html" target=_blank>http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html</A> <BR>to work under 3.5 version ??<BR></P>
<P>my map file looks like this:</P><FONT face="Courier New" size=2>
<P>NAME locadr</P>
<P>SIZE 600 500</P></FONT><FONT face="Courier New" size=2>
<P>FONTSET fonts/fonts.list</P></FONT><FONT face="Courier New" size=2>
<P>SHAPEPATH "data"</P>
<P>SIZE 384 401</P>
<P>EXTENT -2475.0 280.0 20000.0 16546.0</P>
<P>WEB</P>
<P></FONT><FONT face="Courier New" size=2>IMAGEPATH "../tmp/"</P>
<P>IMAGEURL "/~laur/tmp/"</P></FONT><FONT face="Courier New" size=2>
<P>END</P>
<P>QUERYMAP</P>
<P>STATUS ON</P>
<P>STYLE HILITE</P>
<P>COLOR 255 255 0</P>
<P>END</P>
<P>REFERENCE</P>
<P>STATUS ON</P>
<P>IMAGE graphics/iasiref.png</P>
<P>SIZE 314 213 EXTENT 9000.00 9000.00 10000.00 10000.00</P>
<P>COLOR -1 -1 -1</P>
<P>OUTLINECOLOR 255 0 0</P>
<P>END </P></FONT><FONT face="Courier New" size=2>
<P>#</P>
<P># Start of symbol definitions (we're only using a few)</P>
<P>#</P>
<P>SYMBOL</P>
<P>NAME 'circle'</P>
<P>TYPE ELLIPSE</P>
<P>POINTS 1 1 END</P>
<P>FILLED TRUE</P>
<P>END</P></FONT><FONT face="Courier New" size=2>
<P>LAYER </P>
<P>NAME "clcar" </P>
<P>DATA clcar</P>
<P>STATUS ON</P>
<P>TYPE POLYGON </P>
<P>CLASS</P>
<P>NAME "cladiri" </P>
<P>OUTLINECOLOR 194 193 101</P>
<P>SIZE 4</P>
<P>COLOR 0 0 155 </P>
<P>END # end of class object</P>
<P>END # end of layer object</P>
<P>LAYER </P>
<P>NAME "carosabil" </P>
<P>DATA carosabil</P>
<P>STATUS OFF</P>
<P>TYPE POLYGON </P>
<P>CLASS</P>
<P>NAME "carosabil" </P>
<P>OUTLINECOLOR 131 130 129</P>
<P>SIZE 4</P>
<P>COLOR 222 221 221 </P>
<P>END # end of class object</P>
<P>END # end of layer object</P>
<P>LAYER</P>
<P>NAME "adrese" </P>
<P>DATA adrese</P>
<P># </FONT><FONT face="Courier New" size=2>FILTER </FONT><FONT face="Times New Roman"><FONT size=3>"cod eq ^[cod]$" </FONT></P></FONT><FONT face="Courier New" size=2>
<P>STATUS OFF</P>
<P>TYPE POINT</P>
<P>CLASS</P>
<P>NAME "adrese" </P>
<P>SYMBOL 'circle'</P>
<P>MINSIZE 4</P>
<P>MAXSIZE 10</P>
<P>SIZE 7</P>
<P>COLOR 43 14 114</P>
<P>OUTLINECOLOR 220 43 25</P></FONT><FONT face="Courier New" size=2>
<P>TEMPLATE "findadr_template.html"</P></FONT><FONT face="Courier New" size=2>
<P>END # end of class object</P>
<P>END</P>
<P>END </P></FONT>
<P>thank you in advance</P>
<P>L.Lawrence</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="$rd_url/welcome/?http://taxes.yahoo.com/">Yahoo! Tax Center</a> - online filing with TurboTax