You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/08/03 12:28:14 UTC

[jira] Resolved: (JCR-518) TCK: XPath order by test uses non-standard column specifier mechanism

     [ http://issues.apache.org/jira/browse/JCR-518?page=all ]

Marcel Reutegger resolved JCR-518.
----------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Fixed as proposed.

svn revision: 428306

Thank you for reporting this issue and providing the patch.

> TCK: XPath order by test uses non-standard column specifier mechanism
> ---------------------------------------------------------------------
>
>                 Key: JCR-518
>                 URL: http://issues.apache.org/jira/browse/JCR-518
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: test
>            Reporter: Nicolas Pombourcq
>             Fix For: 1.1
>
>
> org.apache.jackrabbit.test.api.QueryXPathOrderByTest generates a queries of the following form: /jcr:root/*[@proname]/@propname order by @propname
> This syntax for column specifiers is not mandated by the JCR specification and will fail on any implementation that does not support it.
> Instead the tests should use the following query: /jcr:root/*[@proname] order by @propname and then read the results using QueryResults.getNodes and not QueryResults.getRows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira