jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: problem escaping reserved characters in XPath
Date Mon, 26 Feb 2007 12:33:43 GMT
El lun, 26-02-2007 a las 12:46 +0100, Cédric Damioli escribió:
> AFAIK, ' characters must be escaped twice in jcr:contains() query : once 
> for XPath (with two '), once for jcr:contains (with a \).
> Your query should be :
> 
> //element(*,okm:document)[jcr:contains(@okm:name,'\''eee')]

Which other chars must be encoded for XPath. I'm looking for them but
don't find anything more than the ' :(

-- 
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)


Mime
View raw message