[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: building an object model of a XML schema

  • From: Michael Brennan <Michael_Brennan@a...>
  • To: "'Bullard, Claude L (Len)'" <clbullar@i...>,Ronald Bourret <rpbourret@r...>
  • Date: Wed, 11 Jul 2001 13:56:07 -0700

xerces schema object model
> From: Bullard, Claude L (Len) [mailto:clbullar@i...]

<snip/>

> What if the idea is that the XML Schema is a set of reusable 
> types, a toolkit that is then included/imported/redefined/substituted 
> into other application languages?  I also haven't 
> exported a schema out of UML, but it seems to me it 
> may include classes that such a design would not use.

I've thought about this one, myself. I'm in general agreement with Ronald
Bourret. I believe in defining the object model or data model used by the
application in a manner that suits the needs of the application. The XML
document model should be separate, and an appropriate mapping defined
between them. The XML can then just be treated as a serialization format or
command syntax (or both, in our case). The mapping need not be monolithic,
though. If you have reusable types in your application's object model, and
reusable structures in your XML documents that have some meaningful
correlation to types in your object model, than why not have mappings
between the two as reusable modules that can be used by other mapping
modules?

That's the tack I'm trying to take now with our integration toolset, though
I haven't gotten very far in implementation, yet.

Note that we don't mechanically generate schemas from UML models. That
approach is suitable for some purposes, but we define the two independently,
then define a mapping between the two.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.