In a previous thread I had talked about developing a Visual Foxpro to XMI tool. So far so good with some help from the board.
I have an issue that centers around creating collaborations that will represent an instance of a class instantiated within another class. This instatiation will then be an object of the class:
Class1 instatiates an object
Class1.Myobject = CreateObject("Custom")
I have created this scenario in EA and have obtained an Object as the result of dragging the derived class (Custom) to the diagram and then making it an instance of the derived class (Custom). This created an object element and I finish the name such that the name appearing would be:
MyObject:Custom
When I export this model to XMI, I can clearly see the collaboration statements and the data required to make this work in my tool.
However, The import process does not recognize my classifer role for the object and the log shows that nothing was done to import or resolve the classifier role for the object.
I have checked to make sure that references to owner, package, names, ID, types, etc. are unique and/or point back to the proper places. I guess I am missing something here?
I have even parred down the output file from EA to just a bare minimum of tags in the collaboration statements to see if I can get it to fault. No good there.
From the looks of it, when I import, I should see an object element in the model. So far, nada. If I turn around and import the file that EA exported for me, it loads and creates the object element.
Any help would be appreciated.
Thanks,
Dave.