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

Define maximum length of namespace names and simple identifiers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      Currently the prose specification defines no limit for namespace names, and the CSDL schema definition limits them to 512 characters.
      Both the prose spec and the schema limit simple identifiers to 479 characters.

      Apparently the C# compiler accepts only 511 characters for both variable names and namespace names, so 512 is too long for namespaces, and 479 is oddly short for a simple identifier.

      JavaScript on the other hand has no limit for variable names.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: