jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2052) XPath QueryFormat may produce malformed XPath statement
Date Fri, 18 Sep 2009 10:49:16 GMT

     [ https://issues.apache.org/jira/browse/JCR-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-2052:
-------------------------------

      Component/s: jackrabbit-core
    Fix Version/s: core-1.4.11

Merged to the 1.4 branch in revision 816572.

Note that in 1.4.x this fix affects jackrabbit-core, since the QueryFormat class was moved
from core to spi-commons after the 1.4 release.

> XPath QueryFormat may produce malformed XPath statement
> -------------------------------------------------------
>
>                 Key: JCR-2052
>                 URL: https://issues.apache.org/jira/browse/JCR-2052
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi-commons
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: core-1.4.11, 1.5.5
>
>
> When the query tree contains select properties *and* an order by clause, then the XPath
QueryFormat will produce a malformed XPath statement.
> E.g.:
> //element(*, foo)/(@a|@b) order by @bar
> round trips to:
> //element(*, foo) order by @bar/(@a|@b)

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


Mime
View raw message