peterp
asked on
Generating XML Schema Definitions from UML diagrams
Hi,
we're producing data models using UML class diagrams (specifically, using Rational Rose). A number of our solutions will move forward by us specifying XML Schemas, and letting others develop reader applications. Does anyone know a way of automatically producing validated XML Schema Definitions files automatically from the UML class diagrams?
we're producing data models using UML class diagrams (specifically, using Rational Rose). A number of our solutions will move forward by us specifying XML Schemas, and letting others develop reader applications. Does anyone know a way of automatically producing validated XML Schema Definitions files automatically from the UML class diagrams?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I suppose that's why I, at least, didn't know about it. I got my version in 1999. But it is just a mapping tool, or can you specify perhaps some configuration, and export an XSD that changes when the UML changes? I've seen other schema mapping tools that still require you to start out with a schema--all they do is make the association of elements and attributes to a model easier.
Regards,
Mike Sharp
Regards,
Mike Sharp
as i remember - you can generate XSD by your model, and do, so called, reverse-engineering of XSD to model.
So, when you changed something in model you need to regenerate XSD, when you changed XSD - you need reengineer your model you update changes.
So, when you changed something in model you need to regenerate XSD, when you changed XSD - you need reengineer your model you update changes.
ASKER
Last time I looked on the Rational Developer Network, there was some discussion of an "add-in" which generates an XMI representation of the model, and how this could be processed to create a Schema. However, the plug in itself had disappeared somewhere in mid 2002.
Today, however, I find the plug-in is back, so I'll try that route.
XML DTD creation is apparently built in to Rose 2000 Enterprise (not sure about successor versions), and there is a script downloadable from the Rational Developer Network to convert these DTDs to XSD. Enterprise is rather more expensive than modeller, though...
Today, however, I find the plug-in is back, so I'll try that route.
XML DTD creation is apparently built in to Rose 2000 Enterprise (not sure about successor versions), and there is a script downloadable from the Rational Developer Network to convert these DTDs to XSD. Enterprise is rather more expensive than modeller, though...
Regards,
Mike Sharp