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-268) Generic atom andatompub xsd



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

Cornelia Davis commented on CMIS-268:
-------------------------------------

To address #3 from above, please consider the schema provided here: http://www.oasis-open.org/apps/org/workgroup/cmis/download.php/32846/SchemaProposal.zip.

What this does is:
* Has a version of Atom.xsd that is independent of anything cmis.  Note that this is a slightly modified version of the Atom.xsd that trang generates from the Atom relax NG schema.  The changes break the types for feed and entry into two parts so that they can be glued together to form the true atom feed or entry, or when we want a schema that includes cmis, the parts can be glued together along with the cmis extensions to form the extended feed and entry types.
* Because we have pulled the cmis things into a separate xsd we can make the cmis extension in entry mandatory.  That is, when the entry represents a type then the cmis:documentType (or friends) element must be there; when the entry represents an object then the cmis:object element must be there.  Note, the inclusion of a nested atom:entry is still optional.
* Eliminates the need for the cmis:terminator.
* XML spy reports that this schema is deterministic.  I'll be eager to see what Al's tooling does with this.

Finally, I've only applied these types of changes to the Atom extensions for now, not AtomPub.  If this approach pans out then I'll gladly update the AtomPub schema as well.

> Generic atom and atompub xsd
> ----------------------------
>
>                 Key: CMIS-268
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-268
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: REST/AtomPub Binding
>    Affects Versions: Draft 0.50, Draft 0.60, Draft 0.61, Draft 0.62
>            Reporter: Al Brown
>
> Leverage the generic atom and atompub xsds.  Make sure they are non-normative

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