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-98) There are CMISproperties that duplicate APP/ATOM information



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

David Caruana commented on CMIS-98:
-----------------------------------

One of the difficulties in resolving duplicates is the sharing of the schema between the two bindings. The problem does not exist in Web Services.

Ideally, CMIS extends the AtomPub binding only where necessary, mapping repository concepts to AtomPub concepts where applicable (which it does aim to), but unfortunately it also currently duplicates. This also adds complication to create & update semantics.

Essentially, it's a decision on whether to share the schema or provide binding specific schemas.

For example, sharing the schema means a client (and potentially server) implementation can re-use code.

Splitting the schema may result in an AtomPub extension that's more natural, more open to re-use of other AtomPub initiatives e.g. removing cmis:object wrapper, generalising notion of AtomPub properties, using Atom entries to represent hierarchy etc. However, this a radical move from where we are today.

> There are CMIS properties that duplicate APP/ATOM information 
> --------------------------------------------------------------
>
>                 Key: CMIS-98
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-98
>             Project: OASIS Content Management Interoperability Services TC
>          Issue Type: Bug
>          Components: REST/AtomPub Binding
>            Reporter: Ryan McVeigh
>            Assignee: Al Brown
>            Priority: Critical
>
> I think this is reasonably significant - so I chose the Critical priority.  This may also be most appropriate to break up into separate issues, but for simplifying discussion I'll report this as a single issue and list all of the various duplications we've found.
> 1.  part II p. 19 "All CMIS properties will be exposed in CMIS properties tag even if they are duplicated in an atom element".  Why are there duplicates? This just seems to clutter things...
> 2.  "Atom:Id will be the URI of the resource" 
>   -  Why is there a CMIS URI property (enumPropertiesBase Uri) that simply duplicates what should be in atom:id?
>   -  Is there a case where just one of these will appear and that's why sometimes it's duplicate?
>           <atom:id>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001</atom:id>
>           <cmis:propertyString cmis:propertyType="string" cmis:name="Uri">
>               <cmis:value>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001</cmis:value>
>           </cmis:propertyString>
> 3.   "App:edited will be CMIS:lastModifiedDate"
> 4.   "Link with relation self will be CMIS:uri" 
>     <atom:link rel="self" href="http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001";       />
>     <cmis:propertyString cmis:propertyType="string" cmis:name="Uri">
>         <cmis:value>http://localhost:7001/drtWebApp/cmis/children/BEA_ExtendedRepository/4001</cmis:value>
>     </cmis:propertyString>
> 5.  "Published will be CMIS:createdDate" 
>     <atom:published>2009-02-27T10:26:50.625-07:00</atom:published>
>     <cmis:propertyDateTime cmis:propertyType="datetime" cmis:name="CreationDate">
>         <cmis:value>2009-02-27T10:26:50.625-07:00</cmis:value>
>     </cmis:propertyDateTime>
> 6.  "Atom:author will be CMIS:creator"  creator? does this mean createdBy?
>           <atom:author>
>               <atom:name>weblogic</atom:name>
>           </atom:author>
>           <cmis:propertyString cmis:propertyType="string" cmis:name="CreatedBy">
>               <cmis:value>weblogic</cmis:value>
>           </cmis:propertyString>
> 7.  "Author/name will be CMIS:createdBy "
>    - name? or does this mean contributor? or was that just a clarification for author?
>    - oh, I see, nested element name...that was confusing...maybe similar phrases should be used (Atom:author was used before, as was creator, instead of createdBy)
>           <atom:contributor>
>               <atom:name>weblogic</atom:name>
>           </atom:contributor>

-- 
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]