Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37F65D15E for ; Wed, 31 Oct 2012 15:25:13 +0000 (UTC) Received: (qmail 56570 invoked by uid 500); 31 Oct 2012 15:25:12 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 56368 invoked by uid 500); 31 Oct 2012 15:25:12 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 56356 invoked by uid 99); 31 Oct 2012 15:25:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2012 15:25:12 +0000 Date: Wed, 31 Oct 2012 15:25:12 +0000 (UTC) From: "Ivan Vasyliev (JIRA)" To: dev@chemistry.apache.org Message-ID: <1834758152.50695.1351697112118.JavaMail.jiratomcat@arcas> In-Reply-To: <507954786.45118.1350305163685.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CMIS-588) Xpath query errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Vasyliev resolved CMIS-588. -------------------------------- Resolution: Won't Fix Fix Version/s: OpenCMIS 0.9.0 Issue in jcr implementation > Xpath query errors > ------------------ > > Key: CMIS-588 > URL: https://issues.apache.org/jira/browse/CMIS-588 > Project: Chemistry > Issue Type: Sub-task > Components: opencmis-server-jcr > Affects Versions: OpenCMIS 0.9.0 > Reporter: Ivan Vasyliev > Fix For: OpenCMIS 0.9.0 > > > FAILURE: The query should return exactly one result but returned 0! (QueryRootFolderTest.java:89) > INFO: expected: 1 / actual: 0 > FAILURE: The query should return the root folder but does not! (QueryRootFolderTest.java:134) > {quote} > UNEXPECTED_EXCEPTION: Exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: > The xpath query "/jcr:root//element(*,nt:file)[(@jcr:mixinTypes = 'mix:simpleVersionable') and jcr:like(fn:name(), 'a%')]order by jcr:content/@jcr:created ascending" is not well-formed: Multiple XPath expressions are not supported (AbstractSessionTest.java:153) > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira