Hello,
Following the spec 6.6.4.9, to find node with title containing the word
- test'test -, this should work:
createQuery("//*[jcr:like(@title, '%test''test%')]", Query.XPATH).execute()
but it does not find my node with a title - test'test -.
ps: it works fine with a wildcard character:
createQuery("//*[jcr:like(@title, '%test_test%')]", Query.XPATH).execute()
what is wrong ?
isn't escaping of ' not done with '' ?
thanks,
--
Raphaël FRANCHET
IT
ANYWARE TECHNOLOGIES
Tel: +33 (0)5 61 00 73 47
Fax : +33 (0)5 61 00 51 46
www.anyware-tech.com