Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: pstein on March 06, 2008, 06:48:12 am

Title: How do I add/import an existing *.XSD into an EA ?
Post by: pstein on March 06, 2008, 06:48:12 am
From another project I got a huge *.XSD file.

I want to import this data model into EA and make some changes.

How do I import such an *.xsd file into (an empty project of) EA?
I found no "import Data model" menu or similar.

Peter
Title: Re: How do I add/import an existing *.XSD into an
Post by: «Midnight» on March 06, 2008, 07:13:09 am
Look up Import | XSD in the EA help index.
Title: Re: How do I add/import an existing *.XSD into an
Post by: thomas.kilian on March 06, 2008, 07:46:16 am
Be warned that EA has it's *unique* understanding of mapping XSD to UML. Not blaming Sparx as there is no standard out there :( However you might not get what you want. There are also quite some flaws: relative paths in schemaLocation confuses EA, some XSDelement attributes are not assigned (here in many cases if the name is GUID) and (worst) it decides on inventing (export) or merging (import) complexType and topLevelElements.
Title: Re: How do I add/import an existing *.XSD into an
Post by: «Midnight» on March 06, 2008, 08:16:56 am
Not only that, but you're lucky - at least in one respect - that this is a single huge XSD. EA is not good at bulk imports of several files.