chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject OpenCMIS SQL Parsing Question: Follow-up
Date Mon, 28 Jul 2014 17:50:49 GMT

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:document
where cmis:name = 'My_Document-0-0'

Unfortunately, when I attempt to parse the CMIS SQL statement that references a child type
of cmis:document, in this particular case, Select WLS_DocType from WLS_General where WLS_DocType
Like '*', I get the following response:

         <faultstring>Query parsing failed: Syntax error in query: Line 1:59 rule query
failed predicate: {WLS_General is neither a type query name nor an alias.}?</faultstring>

The following is partial output for a getTypeDefinition request for WLS_General.   So, it
looks like it is there.

Is this due to the fact that TypeManager from the FileShare server uses a TypeManagerFactory
and there is an issue with the typeDefinitionContainerImpl creation?

Thanks in advance for your help!

         <type xsi:type="ns2:cmisTypeDocumentDefinitionType" xmlns:xsi="">
            <ns2:displayName>Content Manager - WLIS Item Type WLS_General</ns2:displayName>
            <ns2:description>Content Manager - WLIS Item Type WLS_General</ns2:description>
               <ns2:displayName>Document Type</ns2:displayName>
               <ns2:description>Document Type</ns2:description>
               <ns2:defaultValue propertyDefinitionId="WLS_DocType"/>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message