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: Options for hierarchy


Here's the options discussed on the wg call. Currently I believe the order of preference is #4

Option 1 - children inlined inside link. Similiar to generic inline I-D proposal. Issue is which (or both) link relation to inline.
<atom:feed> (/)
<atom:entry> (/a)
<atom:id>/a;entry</atom:id>
<atom:link rel="down" type="application/atom+xml;type=feed">
<cmisra:inline>
<atom:feed>
<atom:id>/a;feed</atom:id>
<atom:entry>
<atom:id>/a/doc1</atom:id>
</atom:entry>
</atom:feed>
</cmisra:inline>

</atom:link>
<atom:link rel="down" type="application/cmistree+xml href=""/a/down"> <cmisra:inline>
<atom:feed>
<atom:id>/a;feed</atom:id>
<atom:entry>
<atom:id>/a/doc1</atom:id>
</atom:entry>
</atom:feed>
</cmisra:inline>
</link>

</atom:entry>
</atom:feed>

Option 2 - inlined, but only one link relation of a particular media type. Client code is more complex to loop through link relations.
<atom:feed> (/)
<atom:entry> (/a)
<atom:id>/a;entry</atom:id>
<atom:link rel="down" type="application/atom+xml;type=feed" />
<atom:link rel="down" type="application/cmistree+xml href=""/a/down"> <cmisra:inline>
<atom:feed>
<atom:id>/a;feed</atom:id>
<atom:entry>
<atom:id>/a/doc1</atom:id>
</atom:entry>
</atom:feed>
</cmisra:inline>
</link>

</atom:entry>
</atom:feed>

Option 3 - similiar to gd:feedLink, but only include entries, not the feed wrapper
<atom:feed> (/)
<atom:entry> (/a)
<atom:id>/a</atom:id>
<atom:link rel="down" type="application/atom+xml;type=feed" />
<atom:link rel="down" type="application/cmistree+xml href=""/a/down"></link>
<cmisra:children>
<atom:entry>
<atom:id>/a/doc1</atom:id>
</atom:entry>
</cmisra:children>

</atom:entry>
</atom:feed>

Option 4 - similiar (almost the same except cmis namespace) and include feed wrapper
<atom:feed> (/)
<atom:entry> (/a)
<atom:id>/a;entry</atom:id>
<atom:link rel="down" type="application/atom+xml;type=feed" />
<atom:link rel="down" type="application/cmistree+xml href=""/a/down">
</link>

<cmisra:children>
<atom:feed>
<atom:id>/a;feed</atom:id>
<atom:entry>
<atom:id>/a/doc1</atom:id>
</atom:entry>
</atom:feed>
</cmisra:children>
</atom:entry>
</atom:feed>

-Al

Al Brown
Emerging Standards and Industry Frameworks
CMIS: https://w3.tap.ibm.com/w3ki07/display/ECMCMIS/Home
Industry Frameworks: https://w3.tap.ibm.com/w3ki07/display/ECMIF/Home

Office 714 327 3453
Mobile 714 263 6441
Email albertcbrown@us.ibm.com
CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation.



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