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: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="http://www.w3.org/2001/XMLSchema-instance"> <ns2:id>WLS_General</ns2:id> <ns2:localName>WLS_General</ns2:localName> <ns2:localNamespace>https://casinfra.wellsfargo.com/cascmisserver</ns2:localNamespace> <ns2:displayName>Content Manager - WLIS Item Type WLS_General</ns2:displayName> <ns2:queryName>WLS_General</ns2:queryName> <ns2:description>Content Manager - WLIS Item Type WLS_General</ns2:description> <ns2:baseId>cmis:document</ns2:baseId> <ns2:parentId>cmis:document</ns2:parentId> <ns2:creatable>false</ns2:creatable> <ns2:fileable>false</ns2:fileable> <ns2:queryable>true</ns2:queryable> <ns2:fulltextIndexed>false</ns2:fulltextIndexed> <ns2:includedInSupertypeQuery>true</ns2:includedInSupertypeQuery> <ns2:controllablePolicy>false</ns2:controllablePolicy> <ns2:controllableACL>false</ns2:controllableACL> <ns2:typeMutability> <ns2:create>false</ns2:create> <ns2:update>false</ns2:update> <ns2:delete>false</ns2:delete> </ns2:typeMutability> <ns2:propertyStringDefinition> <ns2:id>WLS_DocType</ns2:id> <ns2:localName>WLS_DocType</ns2:localName> <ns2:displayName>Document Type</ns2:displayName> <ns2:queryName>WLS_DocType</ns2:queryName> <ns2:description>Document Type</ns2:description> <ns2:propertyType>string</ns2:propertyType> <ns2:cardinality>single</ns2:cardinality> <ns2:updatability>readonly</ns2:updatability> <ns2:inherited>false</ns2:inherited> <ns2:required>true</ns2:required> <ns2:queryable>true</ns2:queryable> <ns2:orderable>false</ns2:orderable> <ns2:openChoice>false</ns2:openChoice> <ns2:defaultValue propertyDefinitionId="WLS_DocType"/> </ns2:propertyStringDefinition>