← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-782) Example 57: choose better example

From
OASIS Issues Tracker <>
Date
2015-02-23T13:36:38+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-782) Example 57: choose better example
Ralf Handl created ODATA-782:
--------------------------------

             Summary: Example 57: choose better example
                 Key: ODATA-782
                 URL: https://issues.oasis-open.org/browse/ODATA-782
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData CSDL
    Affects Versions: V4.0_ERRATA02
            Reporter: Ralf Handl
            Priority: Minor
             Fix For: V4.0_ERRATA03


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




--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
← Prev in month ← Prev in thread
Next in thread → Next in month →