Book a Demo

Author Topic: How do I add/import an existing *.XSD into an EA ?  (Read 2844 times)

pstein

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
How do I add/import an existing *.XSD into an EA ?
« 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

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How do I add/import an existing *.XSD into an
« Reply #1 on: March 06, 2008, 07:13:09 am »
Look up Import | XSD in the EA help index.
No, you can't have it!

thomas.kilian

  • Guest
Re: How do I add/import an existing *.XSD into an
« Reply #2 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.
« Last Edit: March 06, 2008, 08:37:51 am by thomas.kilian »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How do I add/import an existing *.XSD into an
« Reply #3 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.
No, you can't have it!