KÖLL Claus wrote:
found my own failure ;-) the scope in xpath must be "." not "*"//element(*, nt:base)[jcr:contains(., '*.txt')] works now
and here's the reason why: * matches all child nodes of the context node, while . matches the context node itself.
there's a little tool online that maps SQL to XPath and vice versa. you can even see the jackrabbit internal representation of the query:
http://people.apache.org/~mreutegg/jcr-query-translator/translator.html regards marcel
