Re: XMI reader

Daniel Prusa <[email protected]> Tue, 17 Aug 2004 09:58:40 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Michiel,

I have implemented the support for ignoring unknown elemets. It can be 
activated using org.netbeans.lib.jmi.xmi.InputConfig (an instance of it 
is returned defaultly by XMIReader.getConfiguration()). InputConfig is 
extended by setUnknownElementsIgnored(boolean value) method.
This extension should work with version 0.98

Daniel

>Hi Daniel,
>
>Using a system property would be OK I think. Maybe a small addition to the
>API is more elegant, but that doesn't really matter to us.
>
>Is it possible for you to create a version based on 0.98, which supports
>that?
>
>Another - less important - suggestion is to make the DebugException that is
>thrown when an element is not recognized a checked exception i.s.o. a
>RuntimeException.
>
>Michiel.
>  
>