Hi;
I have a xpath search that was working on v1.3 and now, after upgrade to
v1.3.1, stopped to work.
That is:
/jcr:root/Folder//element(*, nt:base)[childNode/@prop:name = 'false']
And the exception:
avax.jcr.query.InvalidQueryException: Encountered "]" at line 1, column 136.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"return" ...
"to" ...
"where" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"-" ...
"+" ...
"|" ...
"[" ...
<ForVariable> ...
<LetVariable> ...
<CastAs> ...
<TreatAs> ...
"," ...
<OrderBy> ...
<OrderByStable> ...
: Encountered "]" at line 1, column 136.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"return" ...
"to" ...
"where" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"-" ...
"+" ...
"|" ...
"[" ...
<ForVariable> ...
<LetVariable> ...
<CastAs> ...
<TreatAs> ...
"," ...
<OrderBy> ...
<OrderByStable> ...
: Encountered "]" at line 1, column 136.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"return" ...
"to" ...
"where" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"-" ...
"+" ...
"|" ...
"[" ...
<ForVariable> ...
<LetVariable> ...
<CastAs> ...
<TreatAs> ...
"," ...
<OrderBy> ...
<OrderByStable> ...
Is there some alter in xpath between the versions?
Best regards
Helio.
--
View this message in context:
http://www.nabble.com/XPath-%28child-axis%29-search-not-working-on-v1.3.1%2C-it-was-on-v1.3-tf4490103.html#a12805682
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.