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

Separation of concerns: ABNF for URL components instead of whole URLs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: ABNF
    • Labels:
      None

      Description

      We have published ABNF rules for OData request URLs

      • odataUri
      • odataRelativeUri
      • resourcePath
      • queryOptions

      which are much complicated by the fact that they produce percent-encoded URLs. Because of ODATA-1583, much of these rules must be duplicated for the context rule, which (being a URL fragment) does not use percent-encoding.

      It would be much easier if we only had ABNF rules for the components of a URL:

      • path segment
      • search parameter name
      • search parameter value
      • fragment

      and then assemble a URL from these components, with the necessary percent-encoding.

      Consider writing an alternative set of ABNF rules with this approach.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              heiko.theissen Heiko Theissen
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: