Hi, I wrote:
At least the jcr:contains() function does not support child node queries at the moment, so I unfortunately don't think you can yetimplement your search with just one XPath query.
Another alternative from "//page[jcr:contains(paragraph,'foo')]" would of course
be "//page[paragraph[jcr:contains(.,'foo')]]" but I believe Jackrabbit only supports the attribute axis within predicates. I think I'll file a separate Jira issue on this. BR, Jukka Zitting
