You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Helio S. P. (JIRA)" <ji...@apache.org> on 2008/02/08 20:43:08 UTC

[jira] Issue Comment Edited: (JCR-247) Child axis support for XPath predicates

    [ https://issues.apache.org/jira/browse/JCR-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567172#action_12567172 ] 

_hsp edited comment on JCR-247 at 2/8/08 11:42 AM:
----------------------------------------------------------

I think that is an issue.
I am trying to search like:

/jcr:root/A/B//element(*,my:type)[X/Y/3ca3f395-7ae9-4553-b0d2-401b3bdff3d2/@prop:number >= 1]

if I do the search without the 3ca3f395-7ae9-4553-b0d2-401b3bdff3d2 and replace it with *, it works, but not for my use case, :-( ....
I am naming these nodes with a uuid of another node in workspace.

Would it be easily fixed? Should this reopen this jira?

      was (Author: _hsp):
    I think that is an issue.
I am trying to search like:

/jcr:root/A/B//element(*,my:type)[X/Y/3ca3f395-7ae9-4553-b0d2-401b3bdff3d2/@prop:number >= 1]

if I do the search without the 3ca3f395-7ae9-4553-b0d2-401b3bdff3d2 and replace it with *, it works, but not for my use case, :-( ....
I am naming a node with a uuid of another node in workspace.

Would it be easily fixed? Should this reopen this jira?
  
> Child axis support for XPath predicates
> ---------------------------------------
>
>                 Key: JCR-247
>                 URL: https://issues.apache.org/jira/browse/JCR-247
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: xpath
>            Reporter: Jukka Zitting
>             Fix For: 1.2.1
>
>
> It seems that Jackrabbit currently only supports the attribute axis in XPath predicates. Support for the child axis would be a nice addition.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.