Based on the lack of feedback, I'm assuming that there isn't a clean
separation of the Use Case diagram and the information needed to generate an
XML DTD like there is with generating relational database DDL.  This is
problematic for a couple reasons.

1. The UML class diagram gets customized into something that isn't really a
class diagram any more
2. The bias of XML schema is to make everything elements.  This is a problem
because most property kinds of information are modeled as attributes of a
class.  For example, if we have a class called Employee with attributes
Name, Phone, Salary, and we generate an XML DTD, those attributes will be
generated as XML attributes, not as elements subordinate to the Employee
element.

The end result is that the business model and the implementation model are
the same and can't be configuration managed separately.  

I'd recommend using another tool to model the XML DTD, like Extensibilities
XML Authority (http://www.extensibility.com/).  I'd rather see an integrated
solution, but I guess that's where we are for now.

Kurt



Kurt Donath
315.456.6276
Staff Systems Engineer
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  .  .
                                              Lockheed Martin - Enterprise
Information Systems
                                                                 Systems
Engineering / Webserv





> -----Original Message-----
> From: Donath, Kurt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 1:28 PM
> To: 'Naiburg, Eric J.'; '[EMAIL PROTECTED]'
> Subject: RE: (ROSE) XML and DDL Generation
> 
> Right.  Now my question is: is XML DTD generation something 
> similar?  The
> DDL generation process creates a whole seperate set of objects that
> preserves the original classes.  For XML DTD generation I've 
> only seen a
> process that involves customizing the class diagram to the 
> point where it
> isn't really a class diagram any more.  For example, adding 
> classes that
> aren't really classes (DTDGroup, DTDSequence sterotypes), and changing
> traditionally class attributes to classes so they'll come out 
> as elements in
> the conversion.
> 
> Am I missing something?
> 
> Thanks for the help,
> 
> Kurt
> 
> 
> > -----Original Message-----
> > From: Naiburg, Eric J. [mailto:[EMAIL PROTECTED]]
> > 
> > If you are using the latest Rose that includes the Data 
> > Modeler, you would
> > transform the class to a table by right-click on the package 
> > Data Modeler
> > --> Transform to Data Model.  Make sure the classes are persistent.
> > 
> > -----Original Message-----
> > From: Donath, Kurt [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 22, 2001 8:48 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: (ROSE) XML and DDL Generation
> > 
> > 
> > 
> > 
> > Help me understand something: if I create a class diagram 
> and want to
> > generate either RDBMS DDL or XML DTD's, I use the sterotypes 
> > on classes,
> > right? Suppose I want to do both?  Suppose I've got a class 
> > that I want to
> > generate an XML DTD for and a create table statement - can 
> I do both?
> > 
> > Kurt
> > 
> > 
> > 
> > Kurt Donath
> > 315.456.6276
> > Staff Systems Engineer
> > .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 
> >  .  .  .  .  .
> > .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
> >                                                     
> Lockheed Martin -
> > Enterprise Information Systems
> >  
> > Systems Engineering / Webserv
> > 
> > 
> > 
> > 
> > **************************************************************
> > **********
> > * Rose Forum is a public venue for ideas and discussions.
> > * For technical support, visit http://www.rational.com/support
> > *
> > * Admin.Subscription Requests: [EMAIL PROTECTED]
> > * Archive of messages:
> > http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> > * Other Requests: [EMAIL PROTECTED]
> > *
> > * To unsubscribe from the list, please send email
> > *
> > * To: [EMAIL PROTECTED]
> > * Subject:<BLANK>
> > * Body: unsubscribe rose_forum
> > *
> > **************************************************************
> > ***********
> > **************************************************************
> > **********
> > * Rose Forum is a public venue for ideas and discussions.
> > * For technical support, visit http://www.rational.com/support
> > *
> > * Admin.Subscription Requests: [EMAIL PROTECTED]
> > * Archive of messages: 
> > http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> > * Other Requests: [EMAIL PROTECTED]
> > *
> > * To unsubscribe from the list, please send email
> > *
> > * To: [EMAIL PROTECTED]
> > * Subject:<BLANK>
> > * Body: unsubscribe rose_forum
> > *
> > **************************************************************
> > ***********
> > 
> **************************************************************
> **********
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to