[mdr-users] Erro while importing XMI

"Olivier RICHAUD" <[email protected]> Thu, 29 Sep 2005 10:48:04 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <000001c5c4d2$82dfd2d0$0a64a8c0@lauris>
I'm currently trying to import XMI/UML much like the UMF2MOF tool which
helped us. When I read the original XMI/UML file, I first need to get
the UML package and thus read 01-02-15_Diff.xml as found in MDR. That
XMI file references 01-02-15.xml (which is in my class path), but I get
the following error:

	org.netbeans.lib.jmi.util.DebugException: no protocol:
01-02-15.xml

Could you tell me what's missing? I create a XMIreader using the
appropriate factory:
	 XMIReaderFactory f = XMIReaderFactory.getDefault();
       XMIReader r = f.createXMIReader();
       r.read(is, null, pkg);

And it crashes while calling read.

Regards.

Olivier.