Uploaded image for project: 'OASIS OSLC Lifecycle Integration Core (OSLC Core) TC'
  1. OASIS OSLC Lifecycle Integration Core (OSLC Core) TC
  2. OSLCCORE-148

How to specify that no member properties should be returned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Query
    • Labels:
      None
    • Proposal:
      Hide

      The specification should say that:

      Servers SHOULD accept the value rdf:nil. If specified as the only property, servers SHOULD omit all properties of the member resources. If oslc.select specifies rdf:nil and other properties, servers MAY choose to respond with 400 Bad Request, or ignore the rdf:nil, or have other implementation dependent behavior.

      Show
      The specification should say that: Servers SHOULD accept the value rdf:nil. If specified as the only property, servers SHOULD omit all properties of the member resources. If oslc.select specifies rdf:nil and other properties, servers MAY choose to respond with 400 Bad Request, or ignore the rdf:nil, or have other implementation dependent behavior.
    • Resolution:
      Hide

      The draft Query 3.0 spec has been updated with the proposal.

      Show
      The draft Query 3.0 spec has been updated with the proposal.

      Description

      How does a query capability consumer specify that no properties of members should be returned in a query result?

      The syntax of oslc.select requires that at least one property is specified. The spec does not define the behaviour if oslc.select is omitted - see https://issues.oasis-open.org/browse/OSLCCORE-123.

      If the query result is an LDPC, then one solution is to use LDPC Prefer capabilities such as: Prefer: return=representation; include="http://www.w3.org/ns/ldp#PreferMembership http://www.w3.org/ns/ldp#PreferMinimalContainer".

      However, this seems like a complex solution to meet this requirement, and implementations that do not use LDPCs are unlikely to support it.

        Attachments

          Activity

            People

            • Assignee:
              DavidHoney David Honey
              Reporter:
              DavidHoney David Honey
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: