jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject XPath (child axis) search not working on v1.3.1, it was on v1.3
Date Thu, 20 Sep 2007 20:53:57 GMT

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.


Mime
View raw message