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

Tag type definition in Core should have default boolean value = true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS01
    • Fix Version/s: V4.0_CSD03
    • Component/s: Vocabularies
    • Labels:
      None

      Description

      In the core vocabulary we define a type definition for terms used as tags as:

      <TypeDefinition Name="Tag" UnderlyingType="Edm.Boolean">
      <Annotation Term="Core.Description" String="This is the type to use for all tagging terms" />
      </TypeDefinition>

      The intention of this was to allow the mere presence of a term (such as IsLanguageDependent) to be true.

      However, we neglected to define the default value as part of the TypeDefinition, so each use of the Tag must ALSO specify the default value of true (which kinda defeats the purpose).

      Perhaps this was because we don't currently list DefaultValue (or Nullable) in the allowable facets for a type definition (why?)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: