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


Help: OASIS Mailing Lists Help | MarkMail Help

oslc-core message

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

Subject: RE: [oslc-core] Resource Preview Proposal

I second the proposal and will put together an electronic ballot.

I will send instructions once the ballot is ready to be voted on.


Martin Sarabura

R&D Fellow, PTC




From: oslc-core@lists.oasis-open.org [mailto:oslc-core@lists.oasis-open.org] On Behalf Of Jim Amsden
Sent: July-29-15 9:54 AM
Subject: Re: [oslc-core] Resource Preview Proposal


After reviewing all the issues and options, which are discussed in detail in https://wiki.oasis-open.org/oslc-core/V2Compatibility#preview, I'd like to make the following simple proposal for Resource Preview:

1. Preview Discovery

To preserve compatibility with OSLC2, preview discovery must continue to support the Accept: application/x-oslc-compact+xml header to get the Compact resource. This usage will be noted as deprecated. OLSC3 clients should use the Link header with rel="http://open-services.net/ns/core#Compact" and the Prefer header with include="http://open-services.net/ns/core#PreferCompact”, using the Accept header with standard MIME types such as text/turtle, application/rdf+xml, application/ld+json, etc. to get the Compact resource in the desired format.

2. Preview Resource Representation

OSLC3 must continue to support the OSLC2 Compact resource XML representation. This format will be noted as deprecated. OSLC3 clients should use the Accept and Prefer headers to get the compact resource in Turtle or JSON format. Servers may support other formats such as application/rdf+xml and application/ld+json.

3. Preview Resize

OSLC3 will continue to support the OSLC2 oslc-preview-height resize message, but this usage will be noted as deprecated. OSLC3 servers should use the oslc-resize message. OSLC3 servers should send both the oslc-preview-height and oslc-resize messages if OSLC2 compatibility is a requirement.

This results in very few changes to Resource Preview - just including the x- MIME type and XML format for the OSLC2 Compact resource, and handling the oslc-preview-height resize message for OSLC2 compatibility.

In order to complete the edits as soon as possible, we can try an electronic vote on this proposal.

Jim Amsden, Senior Technical Staff Member
OSLC and Linked Lifecycle Data

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