Closed tliron closed 2 years ago
This sounds like the correct interpretation to me. We should add that "best practice" is to only define the profile name in the top-level TOSCA file and not repeat it in the imported files (although repeating the profile name should not result in an error)
This behavior is documented in Section 5.2.2.2 of Rev 3 of WD5
Currently we don't have clarity on this topic. See discussions on this PR.
The current thought is that we should think of them "programmatically", by which I mean define the parser's behavior when it encounters them. The semantics would then follow. Specifically, this:
The result is a kind of "reverse inheritance" by which a file "inherits" the name from the file that imported it.