[jira] [Commented] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expected root node not in result

2012-07-09 Thread Thomas Mueller (JIRA)
of such a limitation and so didn't run the Jackrabbit test. I will try to find an alternative solution. TCK: SQLPathTest.testChildAxisRoot expected root node not in result --- Key: JCR-3376

[jira] [Updated] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expects root node not in result

2012-07-09 Thread Thomas Mueller (JIRA)
the test as follows: ... AND NOT jcr:path LIKE '/%/%' AND jcr:path '/' Summary: TCK: SQLPathTest.testChildAxisRoot expects root node not in result (was: TCK: SQLPathTest.testChildAxisRoot expected root node not in result) TCK: SQLPathTest.testChildAxisRoot expects root node

[jira] [Resolved] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expects root node not in result

2012-07-09 Thread Thomas Mueller (JIRA)
SQLPathTest.testChildAxisRoot, the root node is now optional. I tested with Jackrabbit Core (-PintegrationTesting) and with Oak (oak-jcr), with the test removed from the known.issues list in the pom.xml. TCK: SQLPathTest.testChildAxisRoot expects root node not in result

[jira] [Reopened] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expected root node not in result

2012-07-07 Thread Jukka Zitting (JIRA)
in one query. It sounds like we should rather fix Jackrabbit than this test case, but until someone has time to look at the details it's best to avoid failing the build, so I reverted the change for now in revision 1358567. Reopening until we have a better solution. TCK

[jira] [Created] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expected root node not in result

2012-07-05 Thread Thomas Mueller (JIRA)
Thomas Mueller created JCR-3376: --- Summary: TCK: SQLPathTest.testChildAxisRoot expected root node not in result Key: JCR-3376 URL: https://issues.apache.org/jira/browse/JCR-3376 Project: Jackrabbit

[jira] [Resolved] (JCR-3376) TCK: SQLPathTest.testChildAxisRoot expected root node not in result

2012-07-05 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved JCR-3376. - Resolution: Fixed Fix Version/s: 2.6 TCK: SQLPathTest.testChildAxisRoot expected root

TCK / SQLPathTest.testChildAxisRoot

2012-06-28 Thread Thomas Mueller
Hi, The test case SQLPathTest.testChildAxisRoot runs the following SQL-1 query: SELECT * FROM nt:base WHERE jcr:path LIKE '/%' AND NOT jcr:path LIKE '/%/%' It expected the result to be /jcr:system, /testroot, /testdata Shouldn't / (the root node) also be part of the result? The

Re: TCK / SQLPathTest.testChildAxisRoot

2012-06-28 Thread Randall Hauch
Surprisingly, the test appears to be correct as written: the root node should NOT be included in the results. To see why, we have to look at Section 6.6.3.4 (Path Constraint) in the JSR-170 specification, since we're talking about JCR's original SQL language. In particular, the Child node path

Re: TCK / SQLPathTest.testChildAxisRoot

2012-06-28 Thread Thomas Mueller
...@gmail.com Reply-To: dev@jackrabbit.apache.orgmailto:dev@jackrabbit.apache.org dev@jackrabbit.apache.orgmailto:dev@jackrabbit.apache.org To: dev@jackrabbit.apache.orgmailto:dev@jackrabbit.apache.org dev@jackrabbit.apache.orgmailto:dev@jackrabbit.apache.org Subject: Re: TCK / SQLPathTest.testChildAxisRoot

Re: TCK / SQLPathTest.testChildAxisRoot

2012-06-28 Thread Randall Hauch
@jackrabbit.apache.org) To: dev@jackrabbit.apache.org (mailto:dev@jackrabbit.apache.org) dev@jackrabbit.apache.org (mailto:dev@jackrabbit.apache.org) Subject: Re: TCK / SQLPathTest.testChildAxisRoot Surprisingly, the test appears to be correct as written: the root node should NOT be included