jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AJ Chen" <cano...@gmail.com>
Subject xpath syntax error
Date Thu, 14 Feb 2008 06:25:57 GMT
I have a question about xpath search syntax.  The following xpath search
   //A//*[ @rdf:type = 'w2x:News' ]
but, the following multi-level node path gives exception: Parse error: data
is not a RelationQueryNode
   //A/1/B//*[ @rdf:type = 'w2x:News' ]

I want to search for any descendants under node //A/1/B. What's the right
way to specify the node path in xpath query?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message