Import UML File: java.io.IoException: The file does not contain a valid UML model, but a

72 views
Skip to first unread message

Dave Hau

unread,
Sep 9, 2011, 11:39:37 PM9/9/11
to TopBraid Suite Users
Hi, I'm trying to import a UML model from Enterprise Architect 9.0.
I've tried exporting the UML model into:

1. UML 2.0 (XMI 2.1)
2. UML 2.1 (XMI 2.1)
3. OMG XMI

All of the above formats give the following error:

"java.io.IoException: The file does not contain a valid UML model, but
a"

I'm using TopBraid ME 3.5.2.

Please advise. Thanks.

- Dave

Scott Henninger

unread,
Sep 10, 2011, 10:01:49 AM9/10/11
to TopBraid Suite Users
Dave, For importing UML, TBC requires that the XMI is compatible with
the Eclipse UML2 Plugin. See Help > Import and Export > Import
external information > Import UML

There is also a blog on UML import at http://topquadrantblog.blogspot.com/search/label/UML

-- Scott

Dave Hau

unread,
Sep 10, 2011, 5:27:07 PM9/10/11
to TopBraid Suite Users
Enterprise Architect 9.0 supports exporting into the following
formats:

UML 1.3 (XMI 1.0)
UML 1.3 (XMI 1.1)
UML 1.4 (XMI 1.2)
UML 2.0 (XMI 2.1)
UML 2.1 (XMI 2.1)
MOF 1.3 (XMI 1.1)
MOF 1.4 (XMI 1.2)
Ecore
OMG XMI
BPMN 2.0 XML
ArcGIS

Would any one of the above work with TBC? If not, can you describe
how I can get from one of these formats (or from the .eap file) into
XMI compatible with the Eclipse UML2 Plugin?

Thanks!

- Dave



On Sep 10, 10:01 am, Scott Henninger <shennin...@topquadrant.com>
wrote:
> Dave, For importing UML, TBC requires that the XMI is compatible with
> the Eclipse UML2 Plugin.  See Help > Import and Export > Import
> external information > Import UML
>
> There is also a blog on UML import athttp://topquadrantblog.blogspot.com/search/label/UML

David Price

unread,
Sep 11, 2011, 4:28:07 AM9/11/11
to topbrai...@googlegroups.com
As a bit of background, one of the OMG's dirty little secrets is that
after many years XMI interchange still doesn't really work. There's a
good effort ongoing in OMG for the past two years now trying to address
this issue (see http://www.omgwiki.org/model-interchange/doku.php) so
things are improving. Today, their efforts are on UML 2.3 - XMI 2.1. At
some point TopBraid should probably move to supporting that effort too,
assuming customer demand for UML import is out there.

In any case, Ecore is the basis for eclipse metamodel exchange. You
best bet is probably to either import the Ecore file into Eclipse and
get the Eclipse UML 2 plugin or it may be that the Ecore itself will
import into TBC.

Cheers,
David


--
Managing Director and Consultant
TopQuadrant Limited. Registered in England No. 05614307
UK +44 7788 561308
US +1 336-283-0606

Peter Bruhn Andersen

unread,
Sep 12, 2011, 2:04:35 AM9/12/11
to topbrai...@googlegroups.com, Scott Henninger
Speaking of the article 'Converting UML models to OWL - Part 1': when
can we expect part 2 and part 3? It has been more than seven month since
part 1 promised a very interesting and useful addition to our TBC toolbox.

I'm sure that this article series could be of great use to a lot of us
TBC users trying to bring the UML users in the enterprise into the world
of ontologies.

Regards,
Peter Bruhn Andersen

Bob Ducharme

unread,
Sep 12, 2011, 12:50:38 PM9/12/11
to topbrai...@googlegroups.com
I just learned that part 2 is on the way, being based on some ongoing work
at TopQuadrant that is moving into a new phase, but we don't have a specific
date for its publication just yet. (I am also looking forward to it!)

Bob DuCharme
TopQuadrant

Regards,
Peter Bruhn Andersen

--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbrai...@googlegroups.com
To unsubscribe from this group, send email to
topbraid-user...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Peter Bruhn Andersen

unread,
Feb 12, 2012, 9:23:52 AM2/12/12
to topbrai...@googlegroups.com, Bob Ducharme
Any update on the status of part 2 and part 3 of the 'Converting UML to
OWL' blog entry?

/Peter

Bob DuCharme

unread,
Feb 14, 2012, 9:53:39 AM2/14/12
to Peter Bruhn Andersen, topbrai...@googlegroups.com
Peter,

I'm not sure of the exact date, because I'm not writing it myself, but I know that it will be describing techniques developed as part of work that is still ongoing. 

Bob
Reply all
Reply to author
Forward
0 new messages