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

Example 57: choose better example

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      The example is misleading as it places a percent-encoded string into a URL template that looks like an OData URL (parentheses and single quotes around the genreName), yet this would not result in a correct OData URL if the genreName would contain a single quote.

      Better use a URL template with non-OData URL syntax, e.g.

      http://host/someAPI/Genres/

      {genreName}

      /LongDescription

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: