jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Pombourcq (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-518) TCK: XPath order by test uses non-standard column specifier mechanism
Date Thu, 27 Jul 2006 22:08:13 GMT
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/*[@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

        

Mime
View raw message