loadexpression : running into problems

Steve Lime Steve.Lime at DNR.STATE.MN.US
Wed Jul 25 01:09:15 EDT 2007


Found the problem and fixed it. It goes back to the original parse mapfile from string commit. (rev 6388)

Steve

>>> Yewondwossen Assefa <assefa at dmsolutions.ca> 07/24/07 12:48 PM >>>
Steve Lime wrote:
> How recent a version? I didn't touch the expression code, nor the lexer in that area. At least, I
> don't think I did. Umberto made some changes as described in https://trac.osgeo.org/mapserver/ticket/2123 
> that possibly could have an impact.
> 
  Mapserver from svn today.
> Test data would help and I'll look into it asap.
> 
  I will prepare the test case and send it to you

Thanks
> Steve
> 
>>>> On 7/24/2007 at 10:19 AM, in message <46A61899.2010607 at dmsolutions.ca>,
> Yewondwossen Assefa <assefa at dmsolutions.ca> wrote:
>> Hi Steve,
>>
>>   I am running into problems with OGC Filters and recent builds of 
>> MapServer. I am doing something like:
>>
>> msLoadExpressionString(&lp->class[0]->expression,
>>                                 szExpression);
>>
>> szExpression =("[NAME]" = "Digby")
>>
>> in loadExpressionString function
>>   if((exp->type = getSymbol(4, 
>> MS_EXPRESSION,MS_REGEX,MS_IREGEX,MS_ISTRING)) returns -1 for this 
>> expression.
>> Could it be related to recent changes ?  If necessary I can provide 
>> map/data/url for testing.
>>
>> Thanks
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-dev mailing list