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?

Reply via email to