Syntax and scoping when applying annotations requires clarification
Source: Airbus Group ( Oliver Kellogg)
22.214.171.124.2 on p.101 contains the rule
(225) <annotation_appl> ::= "@" <scoped_name> [ "(" <annotation_appl_params> ")" ]
The nature of the EBNF notation leaves room for interpreting that between the @ and the <scoped_name> there could appear spaces, tabs, or even comments.
On the other hand, 126.96.36.199.1 on p.100 contains:
(220) <annotation_header> ::= "@annotation" <identifier>
Here, it is clear that @annotation shall be treated as a single token without intermittent characters between @ and annotation.
I propose adding a clarification in the explanations at the beginning of p.102 (following rule 227):
Applying an annotation consists in prefixing the element under annotation with:
- The annotation name ( <scoped_name> ) prefixed with the at symbol( @ ), also known as commercial at. There shall be no intermittent spaces, tabs, or comments between @ and <scoped_name>.
The last sentence is my proposed addition.
Reported: IDL 4.2b1 — Fri, 26 Jan 2018 22:03 GMT
Updated: Tue, 21 Jun 2022 23:16 GMT