Uploaded image for project: 'OASIS Content Management Interoperability Services (CMIS) TC'
  1. OASIS Content Management Interoperability Services (CMIS) TC
  2. CMIS-614

Schema: cmis:cmisProperty complex type and its descendants restricts extension elements as children

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Applied
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Schema
    • Labels:
      None
    • Proposal:
      Hide

      cmis:cmisProperty derived elements should support

      <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>

      as a valid child element.

      Show
      cmis:cmisProperty derived elements should support <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> as a valid child element.
    • Resolution:
      Hide

      Fixed in 1.0

      Show
      Fixed in 1.0

      Description

      The cmis:cmisProperty complex type and its descendants restricts a providers ability to return extended information elements as children of this element. This is useful when vendors want to provide additional information associated with a property and its value that is best modeled as extension elements.

      For example, if a provider has a string property that represents a user, they may want to support the following in order to embed information about the user:

      <cmis:propertyString propertyDefinitionId="cmis:createdBy" localName="cmis_createdBy" displayName="Created By">
      <cmis:value>John Doe</cmis:value>
      <directory:displayName>John Doe<directory:displayName>
      <directory:principal>jdoe<directory:principal>
      <directory:mail>jdoe@example.com<directory:mail>
      </cmis:propertyString>

      The cmis:cmisProperty extended elements do support cmis:cmisUndefinedAttribute attribute group.

      They provide more flexibility and support <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> as a valid child element.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dwcarr Derek Carr
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: