Book a Demo

Author Topic: XML Schema modelling and generation  (Read 4875 times)

Iain

  • Guest
XML Schema modelling and generation
« on: September 05, 2002, 10:06:51 am »
New user question: I would like to model XML schemas and generate same using EA - has anyone got examples of appropriate UML Profiles to support this and how to generate the schemas using EA -  if not can I request a product enhancement

Rafael Gonzalez

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: XML Schema modelling and generation
« Reply #1 on: September 06, 2002, 03:05:59 am »
You have a UML profile in the Sparks System Home page.

However it is only limited to visual modelling. There is no DTD or W3C Schema generation capabilities in EA yet.

David Carlson's excellent book "modelling XML applications with UML" describes flexible mapping strategies in great detail,
including:

- default generation strategies when no stereotypes are specified
- mapping to DTDs and W3C schema
- strict and relaxed mappings, etc


It would be so nice for EA to follow this way ....

In fact, I started to do some visual XML vocabularies modelling but had to stop because I have to generate the schema by hand as well. Not being able to do it under EA with forward and reverse engineering, it just doubled my work.

Lazyness is a virtue in software engineering.


Rafael


iain

  • Guest
Re: XML Schema modelling and generation
« Reply #2 on: September 26, 2002, 09:42:10 am »
Just a short update - I have located a tool called Hyper Model that will take the XMI from EA and generate schema file

http://www.XMLmodeling.com

Rafael Gonzalez

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: XML Schema modelling and generation
« Reply #3 on: September 27, 2002, 12:49:27 am »
Have you actually done that ?

I've tried to use HyperModel with an XMI file exported with EA with no success. I've tried every combination.

Can you tell me the steps to export from EA and import into HyperModel ?

Rafael

iain

  • Guest
Re: XML Schema modelling and generation
« Reply #4 on: October 03, 2002, 07:38:20 am »
Yes, have exported files (XMI 1.0 , no diagrams and  no dtd) from the root node of EA logical model ( if you take it from sub-node some base types are not exported in the XMI)