Next in thread → Next in month →

[OASIS Issue Tracker] Updated: (ODATA-476) Clarify that type-cast segments are required for properties of derived types in system query options

From
OASIS Issues Tracker <>
Date
2013-09-26T23:17:45+00:00
ID
1268984281.15781380237520036.JavaMail.tomcat@customer-jira
Thread
[OASIS Issue Tracker] Updated: (ODATA-476) Clarify that type-cast segments are required for properties of derived types in system query options
[ http://tools.oasis-open.org/issues/browse/ODATA-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-476:
--------------------------------

    Environment: [Applied]  (was: [Proposed])

In  5.1.1.7, Path Expressions of [URL Conventions], I replaced:

"Properties of derived types can be used by specifying the qualified name of a derived type, followed by a forward slash / and the name of the property of the derived type, see addressing derived types"

with:

"To access properties of derived types, the property name MUST be prefixed with the qualified name of the derived type on which the property is defined, followed by a forward slash (/). See addressing derived types"

In 5.1.3, System Query Option $select I replaced:

"Qualifying the selectItem with a qualifiedEntityTypeName prefix casts the entity or complex value to the specified type in order to select a property of that derived type."

with:

"Qualifying tThe selectItem MUST be prefixed with a qualifiedEntityTypeName prefix or qualifiedComplexTypeName casts the entity or complex value to the specified type in order to select a property of that defined on a type derived typefrom the type of the resource segment."

> Clarify that type-cast segments are required for properties of derived types in system query options
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ODATA-476
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-476
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData URL Conventions 
>    Affects Versions: V4.0_CS01
>         Environment: [Applied]
>            Reporter: Ralf Handl
>            Assignee: Michael Pizzo
>             Fix For: V4.0_CSD03
>
>
> We allow type-cast segments in expressions, but we don't specify whether they are required.
> As a property name is unique within an instance, the type-cast segment is not necessary for evaluating the expression, but it helps evaluating the expression.

-- 
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
Next in thread → Next in month →