In my models I am using stereotypes derived from a project specific profile definition.
I do updates to the profile on demand, import the new one to the model by overriding the old one, and sync the stereotypes with the model.
Now it happened that an information-flow shows an old name of a renamed stereotype. Unfortunately, renamed stereotypes are not updated on sync.
But worse, the old name stands as the first stereotype of the information-flow, pretending to be part of the profile.
When I try to deselect it, it is not checked, the old name is not there and the new one is not checked.
How can I delete a spurious stereotype? Are scripting (how?) or
xmi export / change with notepad++ / xmi import the only choices?
How to delete any stereotype from an element?
You may download an example
here: how to delete the stereotype
Profile::stereotype from the information flow?