Łukasz Dwórski created CMIS-545:
-----------------------------------

             Summary: Unable to read complexType property of document type
                 Key: CMIS-545
                 URL: https://issues.apache.org/jira/browse/CMIS-545
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.8.0
         Environment: open cmis 0.8.0, nuxeo
            Reporter: Łukasz Dwórski


I've created simple custom type in nuxeo:
{code:xml}
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
           targetNamespace="http://nuxeo.org/schemas/customer/";>

    <xs:element name="firstname" type="xs:string"/>
    <xs:element name="lastname" type="xs:string"/>

    <xs:element name="address">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="street" type="xs:string"/>
                <xs:element name="city" type="xs:string"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

</xs:schema>
{code}

Custom type is registered correcty, I can create document using this type. 
Unfortunately when I'm querying for object (using Apache Chemistry) I am unable 
to read "address" property of object. "firstname" and "lastname" are available 
in properties map, "address" complexType is not. So this is probably issue with 
reading complexType properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to