Re: OpenCMIS SQL Parsing question

2014-09-09 Thread Florent Guillaume
Hi, The CMIS query language is a subset of SQL-92, and SQL-92 does not allow slashes in identifiers. See SQL-92 ยง 5.2 Syntax Rules. You could change the code as you suggest, but then your server wouldn't be CMIS compliant, and many CMIS clients would fail with it. Florent On Fri, Sep 5, 2014 a

RE: OpenCMIS SQL Parsing question

2014-09-09 Thread Robert.Williams3
Hello, While investigating this issue further, I found a CmisBaseLexer.g file in the chemistry-opencmis-server-support package in the src/main/antlr3/org/apache/chemistry/opencmis/server/support/query directory. The lines in this file that drew my interest are as follows: ID : ('a'..'z'|'A

OpenCMIS SQL Parsing question

2014-09-05 Thread Robert.Williams3
Hello, I am new to CMIS and I am currently using the Example Query code for the basis of my Query processing. Additionally, I am using the OpenCMIS FileShare and InMemory servers as the starting point for my CMIS Server. At present, I am able to successfully parse CMIS SQL statements with the

OpenCMIS SQL Parsing Question: Follow-up

2014-07-28 Thread Robert.Williams3
Hello, I am new to CMIS and I am currently using the Example Query code for the basis of my Query processing. Additionally, I am using OpenCMIS FileShare server as the starting point for my CMIS Server. I am able to successfully parse the following CMIS SQL statement: Select * from cmis:docu

RE: OpenCMIS SQL Parsing Question

2014-07-25 Thread Robert.Williams3
true true false false -Original Message- From: Huebel, Jens [mailto:j.hue...@sap.com] Sent: Friday, July 25, 2014 9:45 AM To: dev@chemistry.apache.org; Williams, Robert Subject: Re: OpenCMIS SQL Parsing Question Yes, please tr

Re: OpenCMIS SQL Parsing Question

2014-07-25 Thread Huebel, Jens
Yes, please try to use the QueryUtilStrict class. We did at some point a certain refactoring for those cases where server implementations want to to enhancements to the grammar. The sample is the most up-to-date code we have. This should be a good starting point. The error message indicates that y

OpenCMIS SQL Parsing Question

2014-07-25 Thread Robert.Williams3
Hello, I am new to CMIS and I am presently looking at handling query functionality in our CMIS Server,. To this end, I am attempting to implement the code specified in section 1.7 entitled "Parsing a CMIS Query" in chapter 14 of the text CMIS and Apache Chemistry in Action. While this exampl