[mdr-users] XMI Modules supported by MDR?
Pieter Van Gorp <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I'm experiencing problems when processing XMI files using external
modules in MDR. My input file is a UML file in XMI generated by
MagicDraw 9. The problem occurred after moving my profile definitions
to a separate XMI file. MDR throws a "Content is not allowed in
prolog" exception.
I found that AndroMDA contains special code for dealing with modules
(in the org.andromda.repositories.mdr.MDRXmiReferenceResolverContext
class). Should I follow the same strategy or does MDR provide
built-in module-support such that I don't have to wrap repository
classes? For instance, is there one specific MDR method that I should
call after loading an XMI file containing hrefs to elements in another
XMI file to make MDR treat the two XMI files as one large model?
Best regards and thanks in advance,
Pieter Van Gorp
Teaching and Research Assistant
FOrmal Techniques in Software engineering (FOTS)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen - Belgium
Office: G.304
Phone: +32 3 265 38 71
Fax: +32 3 265 37 77
http://www.fots.ua.ac.be/~pvgorp/research/
http://motmot.sourceforge.net/
``A man has to live with himself, and he should see to it that he
always has good company [Charles Evans Hughes]''