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

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