OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (CMIS-596) CMIS-RestAtom.xsdreferences the undefined and unpublished atom.xsd



    [ http://tools.oasis-open.org/issues/browse/CMIS-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891#action_16891 ] 

Norrie Quinn commented on CMIS-596:
-----------------------------------

I propose that the CMIS schema should not be referencing atom.xsd at all.  

As atom.xsd it is not a published or accurate Atom schema, it should not be referenced or published in this specification.  If CMIS does publish an atom.xsd, then AFAIK CMIS would the first specification to do so.

Vendors should be free to source and use an atom.xsd for implementation if they wish, but CMIS schema needs to be decoupled from atom.xsd.

The dependency exists only for the cmisra:children element, which is actually a feed.  It could be removed by changing the children element to:

  <xs:element name="children">
    <xs:complexType>
      <xs:sequence>
        <xs:any processContents="lax" namespace="##other" minOccurs="0"
          maxOccurs="unbounded" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>

This changes the representation of cmisra:children slightly in that it would contain a feed (not be one):

  <cmisra:children>
    <atom:feed>
      <atom:title type="text">Document Type Descendants Feed</atom:title>
      ...

Instead of:
  <cmisra:children>
    <atom:title type="text">Document Type Descendants Feed</atom:title>
    ...

This loosely coupled solution works well even when a binding framework like JAXB is used.

I may have missed some XML Schema tricks, but it seems that any solution trying to preserve the *same* representation without a tightly coupled schema, would be problematic for JAXB consumers without customizations.

Some minor Specification text edits would also be required where children is described as a feed.

> CMIS-RestAtom.xsd references the undefined and unpublished atom.xsd
> -------------------------------------------------------------------
>
>                 Key: CMIS-596
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-596
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: Schema
>    Affects Versions: Committee Draft 04
>            Reporter: Norrie Quinn
>            Assignee: Al Brown
>            Priority: Minor
>
> <xs:import namespace="http://www.w3.org/2005/Atom"; schemaLocation="ATOM.xsd" /> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]