Re: XMI reader

Daniel Prusa <[email protected]> Wed, 11 Aug 2004 17:47:10 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Michiel,
to ignore unknown elements will require to make some modificatins in XMI 
reader. We can use some system property to determine if such elements 
should be ignored or not (the default behaviour of the reader will 
remain the same). Is this solution acceptable for you ?
Daniel

>Hi all,
>
>As you might know Compuware OptimalJ uses a version of the MDR XMI reader
>(0.98 at the moment). We use it for importing XMI files into our MOF
>repository.
>
>I have one question about it: currently when we import an Element that is
>not recognized (possibly because our repository does not support that
>element) a DebugException is thrown by the resolveElement() method in
>XmiContext.java.
>
>We would like to have a little bit more control over this process. Ideally
>we would like to be able to ignore elements like that and continue
>processing the remainder of the file.
>
>Do you know how this can be accomplished?
>
>Thanks for your help.
>
>Michiel.
>---
>Compuware OptimalJ - www.optimalj.com
>
>
>  
>