[Zope] Token 'ATOM' required, 'and' found

Chris Withers chris at simplistix.co.uk
Mon Jul 25 05:07:00 EDT 2005


Peter Bengtsson wrote:
> But, is there a more robust solution to this? 

The "correct" thing to do here is to write your own query parser, but 
that's a lot of hard work.

I just catch the two exceptions that the QueryParser can throw and 
return an empty result set.

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list