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

Remove edm:documentation element from [CSDL]

    XMLWordPrintable

    Details

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

      [Applied]

    • Proposal:
      Hide

      Remove the <documentation> element from CSDL and define a documentation term in the core vocabulary. See also ODATA-361

      <Term Name="Description" Type="Edm.String">
      <Annotation Term="Core.Description" String="A brief description of a model element" />
      <Annotation Term="Core.IsLanguageDependent" />
      </Term>

      <Term Name="LongDescription" Type="Edm.String">
      <Annotation Term="Core.Description" String="A lengthy description of a model element" />
      <Annotation Term="Core.IsLanguageDependent" />
      </Term>

      Show
      Remove the <documentation> element from CSDL and define a documentation term in the core vocabulary. See also ODATA-361 <Term Name="Description" Type="Edm.String"> <Annotation Term="Core.Description" String="A brief description of a model element" /> <Annotation Term="Core.IsLanguageDependent" /> </Term> <Term Name="LongDescription" Type="Edm.String"> <Annotation Term="Core.Description" String="A lengthy description of a model element" /> <Annotation Term="Core.IsLanguageDependent" /> </Term>
    • Resolution:
      Show
      Accepted: https://www.oasis-open.org/committees/download.php/49055/odata-meeting-35_on-20130502-minutes.html#odata-360

      Description

      OData V1 introduced a <Documentation> element in order to annotate a model element with a description.

      This is an ideal application of annotations, we just didn't have one defined at the time.

      We should not get rid of the <documentation> element and instead define a documentation annotation in the core vocabulary.

        Attachments

          Activity

            People

            • Assignee:
              hubert.heijkers Hubert Heijkers
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: