Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-792

8.4 Deep Insert: how to handle href attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Deferred
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: None
    • Component/s: ATOM Format
    • Labels:
      None
    • Proposal:
      Hide

      Clients MAY provide any valid IRI, e.g. odata:dummy.

      Services MUST ignore the provided href attribute value.

      Use odata:dummy in example 22, lines 5 and 20

      Show
      Clients MAY provide any valid IRI, e.g. odata:dummy. Services MUST ignore the provided href attribute value. Use odata:dummy in example 22, lines 5 and 20

      Description

      New related entities are specified using the same representation as for an expanded navigation property, i.e. as an atom:link element. This element requires an href attribute with a valid IRI value.

      Which href value should consumers provide? They cannot know (in all cases) what the final URI of the newly created entity will be

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: