jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tingup" <tin...@gmail.com>
Subject is this a bug?
Date Fri, 23 Jul 2010 07:10:00 GMT
Hi, list,

I got a trouble that:
I have a node in /jcr:root has the same name of child.

/jcr:root
 foldername
  filename.html
 foldername[2]
  filename.html

-------------------------------
[/jcr:root/foldername/element(*, cms:folder) order by @name ascending ]  is query a  
[/jcr:root/foldername[2]/element(*, cms:folder) order by @name ascending ] is query b

query a will get /jcr:root/foldername/filename.html and /jcr:root/foldername[2]/filename.html
and query b get what I need /jcr:root/foldername[2]/filename.html only.
Is this query a designed to get two result or a bug?

I want to get /jcr:root/foldername/filename.html only when I use query a, can someone help
me?


Best Regards,
Edward

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