You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Lucas Galfaso (JIRA)" <ji...@apache.org> on 2007/04/12 17:39:32 UTC

[jira] Created: (JCR-843) XPath does not work with sub-axes

XPath does not work with sub-axes
---------------------------------

                 Key: JCR-843
                 URL: https://issues.apache.org/jira/browse/JCR-843
             Project: Jackrabbit
          Issue Type: Bug
          Components: query
    Affects Versions: 1.2.3
         Environment: Windows XP
            Reporter: Lucas Galfaso


XPath expressions return false positives when using sub-axes. e.g.

with this repository (not pertinent things removed)
<jcr:root>
  <foo>
    <kv k="bar" v="shell" />
  </foo>
</jcr:root>

the XPath expression "/jcr:root/foo[kv[k='bar'][v='notShell']]"

returns the node (when it should not do so.)

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


[jira] Updated: (JCR-843) XPath does not work with sub-axes

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-843:
------------------------------

    Issue Type: New Feature  (was: Bug)

Classifying this as a feature request since this is not required by the JCR spec or documented as a supported Jackrabbit extension.

> XPath does not work with sub-axes
> ---------------------------------
>
>                 Key: JCR-843
>                 URL: https://issues.apache.org/jira/browse/JCR-843
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-core, query
>    Affects Versions: 1.2.3
>         Environment: Windows XP
>            Reporter: Lucas Galfaso
>
> XPath expressions return false positives when using sub-axes. e.g.
> with this repository (not pertinent things removed)
> <jcr:root>
>   <foo>
>     <kv k="bar" v="shell" />
>   </foo>
> </jcr:root>
> the XPath expression "/jcr:root/foo[kv[k='bar'][v='notShell']]"
> returns the node (when it should not do so.)

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