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] Updated: (ODATA-534) Tag type definition in Core should have default boolean value = true


     [ http://tools.oasis-open.org/issues/browse/ODATA-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-534:
-----------------------------

    Proposal: 
Close without action

Accepted: https://www.oasis-open.org/committees/download.php/50877/odata-meeting-54_on-20131001-minutes.html#odata-534

  was:
1) Add "DefaultValue" to the list of allowable facets for a type definition
2) Add DefaultValue to the "Tag" type definition:

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

3) For each term that uses "Tag" as the underlying type, remove the Default.


Proposal was:
1) Add "DefaultValue" to the list of allowable facets for a type definition
2) Add DefaultValue to the "Tag" type definition:

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

3) For each term that uses "Tag" as the underlying type, remove the Default.

> 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]