jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Zdila <m.zd...@mwaysolutions.com>
Subject XPath ignoring predicate
Date Mon, 05 May 2008 06:57:26 GMT
Hello

I am using Apache Jackrabbit 1.4.2.

I have nodes named "aaa" and if I execute XPath query "//aaa[nonexistingnode] 
then all "aaa" nodes are returned regardless if they contain nonexisting node 
or not. Is that a bug?

Second strange thing: //*[name() = 'aaa'] returns nothing even I have nodes 
named "aaa" in my repository.

Third strange thing: if I execute //*[aaa] query, then nodeIterator.getSize() 
returns -1. Another bug?

Thanks in advance.

-- 
Martin Zdila 
CTO

M-Way Solutions Slovakia s.r.o.
Letna 27, 040 01 Kosice
Slovakia

tel:+421-908-363-848
mailto:m.zdila@mwaysolutions.com
http://www.mwaysolutions.com
xmpp:zdila@jabbim.sk (Jabber)
skype:m.zdila

Mime
View raw message