Tag "usecases.activity" causes validation errors

Description

I would like to use ARIS UML Designer together with AndroMDA BPM4Struts
cartridge. But ARIS UML Desginer doesn't allow to model activity graphs in
the namespace of a use case. (ARIS UML Desginer is quite rigorous in it's
compliance to the UML spec with say that the namespace of a usecase must
be empty, see chapter 2.11.3.5, Well-Formedness Rules for usecases, of UML
Spec 1.4.1 and 1.5; see also
http://www.mail-archive.com/andromda-user@lists.sourceforge.net/msg01318.html)

Fortunatly the bpm4struts cartridge provides a tagged definition
@andromda.struts.usecases.activity for the stereotype FrontEndUseCase, so
you can reference the activity graph in a use case via a tagged value.
This feature allready worked with a pre M2 version of andromda (I tested it
that time).

Now I try to work with the current RC1 Snapshot or M3 release, but in both
cases I got the following exceptions:

ERROR [AndroMDA:VALIDATION:ERROR] 1)
org.andromda.cartridges.bpm4struts.metafacades.StrutsJsp[Bpm4Struts::andro
palace:resentation::tickets::Ticketreservation::enter
criteria]:Each name of a JSP action state must be unique in the namespace
of a use case

ERROR [AndroMDA:VALIDATION:ERROR] 2)
org.andromda.cartridges.bpm4struts.metafacades.StrutsJsp[Bpm4Struts::andro
palace:resentation::tickets::Ticketreservation::select
show]:Each name of a JSP action state must be unique in the namespace of a
use case

ERROR [AndroMDA:VALIDATION:ERROR] 3)
org.andromda.cartridges.bpm4struts.metafacades.StrutsUseCase[Bpm4Struts::a
ndropalace:resentation::tickets::Ticketreservation]:Each
use-case needs one and only one activity graph.

As soon as I "move" the activity graph in the namespace of the use case by
hand (via editing the xmi-file directly) the generation works fine.

Is it possible that the OCL constraints for the bpm4stuts profile don't
account for the case that the activity graph doesn't reside in the
namespace of the use case but is referenced by a tagged value? My this be
the cause for validation error #3, and #1 and #2 being consecutive faults?

Environment

Win XP SP2, JDK 1.4.2_07 and 1.5.0_02, AndroMDA 3.0M3 and RC1 Snapshot

Status

Assignee

MichaelM

Reporter

StefanS

Labels

None

Fix versions

Affects versions

3.0-M3

Priority

Blocker
Configure