Author Topic: XML schema import - merge option  (Read 4818 times)

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
XML schema import - merge option
« on: October 24, 2006, 03:57:30 pm »
I would like EA to have an option to either "merge" or "import as new" when you do an XML schema import.

This would allow me to refresh schemas updated outside the EA model without breaking linkages I might have created within EA to other UML elements.

Currently I have to import the updated schema - and recreate linkages by hand (ie. WSDL dependencies, package diagrams showing overviews of complex types and schemas etc...)

A simple checkbox on the XML schema import window (if EA detects a the schema already exists within the package being imported into) would be great.  This would give the user the option of a fresh (and duplicated) schema (current functionality) or a merge.

The merge should make the EA modeled schema identical with the XSD from which it was imported.  In other words - new elements and complex types get added, removed elements and complex types get removed.

What do you think?

Thanks,
David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: XML schema import - merge option
« Reply #1 on: January 16, 2008, 12:21:48 pm »
Sparx / anyone? Is this going to be supported in 7.1?

Is there a workaround I can use?

Thanks,
David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: XML schema import - merge option
« Reply #2 on: January 16, 2008, 12:36:42 pm »
There is s kind of merge planned for base lines. It might be of help to you. You'll have to wait and see. :P
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: XML schema import - merge option
« Reply #3 on: January 21, 2008, 03:09:42 pm »
7.1 will include a model merge - is that what you mean?  I suppose you could import the new version of the schema into a new empty model - then merge that in with the old package containing the old schema from the existing project.... I'll give that a try when a 7.1 beta is avail.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: XML schema import - merge option
« Reply #4 on: January 21, 2008, 08:35:19 pm »
I think it will include base line merge (though  baseline may come from XMI). But I think the mergeis manual (which is not so bad...).
Recursion definition:
If you don’t understand the definition read "Recursion definition".