jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPath column specifier.
Date Fri, 22 Feb 2008 19:27:58 GMT
the XPath is missing a slash, this will work:

//element(*,nt:base)/(@prop:nome | @prop:categoria)

regards
  marcel

hsp_ wrote:
> I did the following expression:
> //element(*,nt:base)(@prop:nome | @prop:categoria)
> 
> And it returned:
> 
> javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 32. 
> Encountered: "@" (64), after : "(": Lexical error at line 1, column 32. 
> Encountered: "@" (64), after : "(": Lexical error at line 1, column 32. 
> Encountered: "@" (64), after : "("
> 
> Hints?


Mime
View raw message