jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Fulford" <matt.fulf...@pfiks.com>
Subject XPath nested predicates
Date Mon, 18 Feb 2008 13:08:10 GMT
Hi,
Does the XPath implementation used in Jackrabbit (1.4) support nested
predicates?

I'm trying to select all nodes that have child nodes called x which have
a jcr:primaryType of attribute of 'cms:attribute':

//*[x[@jcr:primaryType = 'cms:attribute']]

Executing this query throws javax.jcr.query.InvalidQueryException:
Unsupported location for predicate.

Many thanks,
Matt

Mime
View raw message