I am trying to use NSUML 1_4-0_1_3 to read XMI file generated by the Magic Draw UML 5.5 (http://www.magicdraw.com/).
The problem is that Magic Draw uses asterisk instead of "-1" for UML:MultiplicityRange.upper. NSUML fails with NumberFormatException when it encounters "*".
The question is: is it NSUML problem or Magic Draw problem and who should fix it.
Thanks a lot -- Maxim.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MagicDraw is the one with the bug. The XMI standard doesn't provide any use for the symbol "*". Also, in the UML metamodel, you can see that MultiplicityRange.upper has a type that is basically a "typdef" for the Cobra Integer type (I think it is called UnlimitedInteger). Also, there should be some constant named something like "Unbounded" that it set to be -1.
- Brian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use NSUML 1_4-0_1_3 to read XMI file generated by the Magic Draw UML 5.5 (http://www.magicdraw.com/).
The problem is that Magic Draw uses asterisk instead of "-1" for UML:MultiplicityRange.upper. NSUML fails with NumberFormatException when it encounters "*".
The question is: is it NSUML problem or Magic Draw problem and who should fix it.
Thanks a lot -- Maxim.
MagicDraw is the one with the bug. The XMI standard doesn't provide any use for the symbol "*". Also, in the UML metamodel, you can see that MultiplicityRange.upper has a type that is basically a "typdef" for the Cobra Integer type (I think it is called UnlimitedInteger). Also, there should be some constant named something like "Unbounded" that it set to be -1.
- Brian