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

Allow empty edm:Schema elements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.01_CSD02
    • Fix Version/s: V4.01_CSD03
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None

      Description

      The current XML Schema for the EDM namespaces requires the edm:Schema element to contain at least one child element.

      This is problematic in at least two use cases:

      • OData API Designer tools - when starting with a "blank page"
      • Services that "shrink" the schema to match user authorization - when the current user isn't allowed to see anything

      Both require workarounds, e.g. having a dummy annotation in the schema telling that "this schema is intentionally empty".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: