OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (ODATA-534) Tag type definition in Core should have default boolean value = true


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

                 Key: ODATA-534
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-534
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: Vocabularies
    Affects Versions: V4.0_CS01
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: V4.0_CSD03


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?)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]