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 AF5CC10945 for ; Tue, 13 Aug 2013 01:28:49 +0000 (UTC) Received: (qmail 7142 invoked by uid 500); 13 Aug 2013 01:28:49 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 6929 invoked by uid 500); 13 Aug 2013 01:28:48 -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 6599 invoked by uid 99); 13 Aug 2013 01:28:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 01:28:48 +0000 Date: Tue, 13 Aug 2013 01:28:48 +0000 (UTC) From: "Jeff Potts (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-703) cmislib fails to query InMemory 0.9 due to CDATA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jeff Potts created CMIS-703: ------------------------------- Summary: cmislib fails to query InMemory 0.9 due to CDATA Key: CMIS-703 URL: https://issues.apache.org/jira/browse/CMIS-703 Project: Chemistry Issue Type: Bug Components: python-cmislib Affects Versions: cmislib 0.5.1 Reporter: Jeff Potts Assignee: Jeff Potts cmislib 0.5.1 cannot successfully query OpenCMIS InMemory repository 0.9 because the query that gets posted wraps the cmis:statement in a CDATA. This used to work fine but something must have changed on the server side. Early query examples must have shown a CDATA being used. But it is definitely not part of the spec now so it should probably get taken out of the client. This is how cmislib 0.5.1 formats the query that gets posted. This will not work against inmemory 0.9: This is what apparently needs to get posted to InMemory 0.9: select * from cmis:document where cmis:name like 'test%.txt' -- 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