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.

regards
 marcel

Reply via email to