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] (ODATA-1431) Standard vocabulary does not always specify Nullable for collection typed properties


Christof Sprenger created ODATA-1431:
----------------------------------------

             Summary: Standard vocabulary does not always specify Nullable for collection typed properties
                 Key: ODATA-1431
                 URL: https://issues.oasis-open.org/browse/ODATA-1431
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Vocabularies
    Affects Versions: V4.01_ERRATA01
            Reporter: Christof Sprenger


[Section 7.2|[OData Common Schema Definition Language (CSDL) XML Representation Version 4.01 (oasis-open.org)|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html#sec_Nullable]] states

_In OData 4.01Âresponses a collection-valued property MUST specify a value for theÂNullableÂattribute._
Â
Some standard annotations don't follow the specification.


Â
{code:java}
vocabularies\Org.OData.Capabilities.V1.xml: ÂÂÂ452:ÂÂÂÂÂÂÂÂÂ<PropertyÂName="FilterExpressionRestrictions"ÂType="Collection(Capabilities.FilterExpressionRestrictionType)" ÂÂÂ453:Â ÂÂÂ977:ÂÂÂÂÂÂÂ<TermÂName="CustomHeaders"ÂType="Collection(Capabilities.CustomParameter)"ÂAppliesTo="EntityContainer"> ÂÂÂ978:ÂÂÂÂÂÂÂÂÂ<AnnotationÂTerm="Core.Description"ÂString="CustomÂheadersÂthatÂareÂsupported/requiredÂforÂtheÂannotatedÂresource"Â/> ÂÂ ÂÂÂ984:Â ÂÂ1005:ÂÂÂÂÂÂÂ<TermÂName="CustomQueryOptions"ÂType="Collection(Capabilities.CustomParameter)"ÂAppliesTo="EntityContainer"> ÂÂ1006:ÂÂÂÂÂÂÂÂÂ<AnnotationÂTerm="Core.Description"ÂString="CustomÂqueryÂoptionsÂthatÂareÂsupported/requiredÂforÂtheÂannotatedÂresource"Â/> ÂÂ ÂÂ1014:Â 
 vocabularies\Org.OData.Validation.V1.xml: ÂÂ152:ÂÂÂÂÂÂÂ<TermÂName="AllowedTerms"ÂType="Collection(Core.QualifiedTermName)"ÂAppliesTo="TermÂProperty"> ÂÂ153:ÂÂÂÂÂÂÂÂÂ<AnnotationÂTerm="Core.Description"ÂString="AnnotateÂaÂtermÂofÂtypeÂEdm.AnnotationPath,ÂorÂaÂpropertyÂofÂtypeÂEdm.AnnotationPathÂthatÂisÂusedÂwithinÂaÂstructuredÂterm,ÂtoÂrestrictÂtheÂtermsÂthatÂcanÂbeÂtargetedÂbyÂtheÂpath."Â/> 
 ÂÂ158:ÂÂÂÂÂÂÂ<TermÂName="ApplicableTerms"ÂType="Collection(Core.QualifiedTermName)"> ÂÂ159:Â{code}



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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