← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] Created: (ODATA-320) Should use /@<annotation-name> to reference applied annotations

From
OASIS Issues Tracker <>
Date
2013-03-22T21:03:01+00:00
ID
1167767705.7491363986170337.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Created: (ODATA-320) Should use /@<annotation-name> to reference applied annotations
Should use /@<annotation-name> to reference applied annotations
---------------------------------------------------------------

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


We recently added the ability to reference the annotation applied to model element by specifying the element followed by "@" and the fully qualified name of the annotation.

As described in reviewing the application of the change, we chose "@" in applying the change primarily because it allowed the client to more easily differentiate whether the applied cast was to a type or an annotation term.

However, by using "@" instead of "/", as originally proposed, we lost the ability to identify the different segments of the expression by splitting on "/". Referencing the applied annotation really is properly a different segment and should be separated by "@".

SO the proposal is to restore the "/" to rightly indicate a separate path segment, but to keep the "@" as a prefix to the annotation in order to more easily differentiate it as an annotation term.

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