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


org.apache.jackrabbit.test.api.QueryXPathOrderByTest generates a queries of the 
following form: /jcr:root/[EMAIL PROTECTED]/@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/[EMAIL PROTECTED] 
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

        

Reply via email to