Hi
How did you load your model ? how did you creat it ?
your format is strange normally in xmi files you have :
="#//Type" any object of type
="#id" the id of the element

here it seems And1is the id of the element and it tries to reference a type.
Did you use a specific resource in your generated code ? (for example KaosResource) if yes try to use xmi and override methode useuuid to return true. You'll be compatible with uml behavior


Regards
Tristan FAURE

Le 06/05/2010 15:56, Topcased user list where issues are discussed a écrit :
Hi,
I have this file.uml,i would like to know how reference is interpreted in this file?when i execute i have this error message:Error loading platform:/resource/stage1/test.uml: The feature '*nd1*' is not a valid feature. it read And1 name of packagedElement kaos:And 'nd1' and it does not know that this is a reference.
how can I do to solve this problem?

<?xml version="1.0" encoding="UTF-8"?>
<uml:Model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:kaos="http://www.topcased.org/kaos/1"; xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML";> <packagedElement xsi:type="kaos:AbstractGoal" name="g" clientDependency="*#//And1* #//And2"/>
<packagedElement xsi:type="kaos:ElementryGoal" name="k"/>
<packagedElement xsi:type="kaos:ElementryGoal" name="m"/>
<packagedElement xsi:type="kaos:And" name="And1" supplier="#//k" client="#//g"/> <packagedElement xsi:type="kaos:And" name="And2" supplier="#//m" client="#//g"/>
</uml:Model>



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

<<attachment: tristan_faure.vcf>>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to