Book a Demo

Author Topic: reverse engineer an .xsd  (Read 12232 times)

lwightman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
reverse engineer an .xsd
« on: April 27, 2012, 08:03:02 am »
I'd like to reverse engineer an xsd diagram into a UML diagram.  I can't see how to do this.  Basically what I have is an xsd file that I would like to see a UML diagram for.  If I import it, I just get a diagram of the xsd

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: reverse engineer an .xsd
« Reply #1 on: April 27, 2012, 11:00:25 am »
Quote
I'd like to reverse engineer an xsd diagram into a UML diagram.  I can't see how to do this.  Basically what I have is an xsd file that I would like to see a UML diagram for.  If I import it, I just get a diagram of the xsd
So what else were you expecting?

(Serious question)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

lwightman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: reverse engineer an .xsd
« Reply #2 on: April 28, 2012, 12:20:21 am »
I understand your question.  I want a UML diagram of the classes.  Maybe if I generate java code from the XSD and then attempt to build a uml diagram from the code...
thanks,
lisa

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: reverse engineer an .xsd
« Reply #3 on: April 30, 2012, 03:10:28 pm »
Lisa,

No amount of reverse or forward engineering is going to change anything to the actual contents.
So if you don't like how it has reverse engineered in EA, you're not going to like it if you take a detour over Java. It's the same thing, just in another format.

Or is it the xsd specific stereotypes you don't like. In that case you can easily remove them to get plain UML classes. (use package browser to quickly remove all stereotypes)

Geert