jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject problem escaping reserved characters in XPath
Date Mon, 26 Feb 2007 11:42:38 GMT
According to the specification (6.6.5.2) jcr:contains() expression must
be escaped if it includes some characters like ' , but my query fails:

	//element(*,okm:document)[jcr:contains(@okm:name,'\'eee')]

Lexical error at line 1, column 79. Encountered:  after : "\')] return
$v": Lexical error at line 1, column 79. Encountered:  after : "\')]
return $v"

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


Mime
View raw message