Community
Participate
Working Groups
OpaqueBehavior, OpaqueAction and OpaqueExpression all have 2 ordered lists Bodies and Languages. It makes sense that the list of Languages should be unique, however the list of bodies should not. In the case of using these Opaque Elements for storing code snippets in different langauges, the fact that the bodies list is unique disallows one to insert the same code snippet (say a comment) in two different languages, even though the body may be semantically correct for both languages. This issue has been raised to OMG against the UML2 specification already and is waiting to be processed.
The fix has been committed to CVS.
Fixed in M200608241455.
Verified in M200608241455. OpaqueAction, OpaqueBehavior and OpaqueExpression body lists will allow entries to be identical.