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

Consider how to handle namespace conflicts in JSON CSDL format

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_WD01
    • Fix Version/s: V4.01_WD01
    • Component/s: CSDL JSON
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Clarify in Part 3: CDSL that a namespace-qualified name must be unique within a scope (document plus directly referenced documents) and that a schema cannot be included twice via different URIs.

      This follows from existing normative text that aliases are only shortcuts, alias-qualified names are interchangeable with namespace-qualified names, and that a schema cannot span more than one document.

      Show
      Clarify in Part 3: CDSL that a namespace-qualified name must be unique within a scope (document plus directly referenced documents) and that a schema cannot be included twice via different URIs. This follows from existing normative text that aliases are only shortcuts, alias-qualified names are interchangeable with namespace-qualified names, and that a schema cannot span more than one document.
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/60253/odata-csdl-json-v4.01-wd01-2017-03-10.docx

      Description

      In our XML format we are able to define aliases for namespaces referenced in external metadata documents, which allows us to disambiguate cases where referenced metadata documents may use the same namespace name.

      In the JSON format we want to make things indexed by the namespace-qualified name, which makes it easy and natural to lookup by name.

      We need to figure out if/how we address the (presumably uncommon) scenario where two referenced metadata documents use the same name.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: