Textual Representation of Model elements in full conformance level should be possible
Source: oose Innovative Informatik eG ( Axel Scheithauer)
An Alf-Text can be transformed into an Element of a model (e.g. an Activity). Both representations are equivalent. Nonetheless it makes sense, to store both representations, since both might have user defined formating, that we want to preserve. The specification defines a means for this:
[the original Alf text is stored] by attaching a comment to the top-level element resulting from the processing of an Alf model unit with the Alf text for the unit as the body.
This asks for the Alf model unit, which is not included on full conformance level:
Full Conformance. Conformance at this level requires the ability to process all the syntax defined in Clauses 8 and 9, but none of the syntax defined in Clause 10 [Units].
A tool supporting only full conformance level (that doesn't include units) may show the behavioral constructs only.
This means there will be two ways how a Textual Representation will show up in the xmi-file. This may cause problems for the interoperability. Maybe we can define, that however the tool displays a Textual Representation, the serialization should always include the full Alf Unit.
Reported: ALF 1.1 — Tue, 29 Jan 2019 12:24 GMT
Updated: Tue, 14 Jul 2020 19:26 GMT