Re: [mdr-users] XMI Modules supported by MDR?
Chad Brandon <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Pieter Van Gorp wrote: >Hey Chad, > >On 6/14/05, Chad Brandon <[email protected]> wrote: > > >>>>>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. >>>>> >>>>> >>>>... >>>>In earlier versions of MagicDraw there was >>>>a bug in XMI serialization causing CompositionViolationException. I >>>>don't know if this was fixed in MagicDraw 9, but so far this does not >>>>seem to be your problem. >>>> >>>> >>>> >>>> >>That problem still exists, we (AndroMDA) had to comment that exception >>out in the MDR code to get magic draw profiles to work with MDR. >> >> >Are you talking about the "content not allowed in prolog" exception or >the "CompositionViolationException"? I hope the former since it would >help me solve my current problem but in any case I'm interested to >know what you commented out in which file. > > I'm referring to the "CompositionViolationException", we had to comment that code out in order for Magic Draw modules to work. In regards to your "content not allowed in prolog" exception, I think you'll get that as well with Magic Draw modules if you don't have something that resolves the references (like our MDRXmiReferenceResolverContext does), because of the fact that the xml.zip files are usually the references instead of the XMI file within the xml.zip. >Best regards, >-- Pieter. > > >