jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPath difference in queries
Date Wed, 20 Jun 2007 14:01:02 GMT
Amir Mistric wrote:
> Does this mean if I have a form in which user is entering search query I
> don't have to "build" (tokenize, validate, reconstruct, etc, etc) the XPAth
> query... I can just pass in something like
> jcr:contains(.,'rock AND roll OR disco -techno') and it will work?

no, that doesn't work you have to create a valid XPath statement.

> Would I have to take care of the last point (escape special chars) or is that
> done automatically?

you have to do that manually.


View raw message