I have been thinking about pushing this validation to the driver level through a vtable function.<br>Not sure about the feasibility of such solution however.<br><br>Best regards,<br><br>Tamas<br> <br><br><div class="gmail_quote">
2010/3/4 Lime, Steve D (DNR) <span dir="ltr">&lt;<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sounds like the assumption that msLayerGetItems() returns all items is not true... &amp;$%@! Intuitively I would have done something<br>
like Alan suggests in the DATA statement with an alias and referred to the alias in the label item.<br>
<br>
Pondering how to fix. Reverting to the 5.4 msLayerWhichItems() setup I guess...<br>
<br>
Steve<br>
________________________________________<br>
From: <a href="mailto:mapserver-dev-bounces@lists.osgeo.org">mapserver-dev-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-dev-bounces@lists.osgeo.org">mapserver-dev-bounces@lists.osgeo.org</a>] On Behalf Of Alan Boudreault [<a href="mailto:aboudreault@mapgears.com">aboudreault@mapgears.com</a>]<br>

Sent: Wednesday, March 03, 2010 3:54 PM<br>
To: <a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
Subject: Re: [mapserver-dev] isValidItem is not aware of the OGR special        attributes<br>
<div><div></div><div class="h5"><br>
The &quot;isValidItem&quot; addition seems to break more than that. The following oracle<br>
labelitem field now fails in 5.6:<br>
LABELITEM &quot;PROJECT_NAME||&#39;&amp;&#39;||MMI&quot;<br>
<br>
I let you imagine all the other possibilities we could have with all the<br>
different DB engines.<br>
<br>
See related ticket: <a href="http://trac.osgeo.org/mapserver/ticket/3342" target="_blank">http://trac.osgeo.org/mapserver/ticket/3342</a><br>
<br>
Alan<br>
<br>
On March 3, 2010 04:25:37 pm Tamas Szekeres wrote:<br>
&gt; My second problem of the day is related to the addition of the isValidItem<br>
&gt; check, see:<br>
&gt; <a href="http://trac.osgeo.org/mapserver/ticket/3356" target="_blank">http://trac.osgeo.org/mapserver/ticket/3356</a><br>
&gt;<br>
&gt;<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Tamas<br>
&gt;<br>
<br>
--<br>
Alan Boudreault<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">http://www.mapgears.com</a><br>
</div></div>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div><br>