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

ABNF for key values is overly generous

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: ABNF
    • Labels:
      None
    • Proposal:
      Hide
      • Restrict key property values to literals of allowed types
      • Consistently name rules for these types
        • URL literals with suffix Literal
        • body values with suffix Value
        • no suffix where both representations are identical
      • Split rules for these types where differences exist, especially for representations with PLUS or COLON characters (no percent-encoding in values, allowed percent-encoding in literals)
      • Add test cases for full coverage
      Show
      Restrict key property values to literals of allowed types Consistently name rules for these types URL literals with suffix Literal body values with suffix Value no suffix where both representations are identical Split rules for these types where differences exist, especially for representations with PLUS or COLON characters (no percent-encoding in values, allowed percent-encoding in literals) Add test cases for full coverage
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-abnf/pull/108

      Description

      ABNF rule keyPropertyValue is too generous and just references rule primitiveValue.

      It should explicitly list primitive values of the types allowed for key properties in 6.5 Key

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: