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

Re: Schema concepts (was Re: W3C public lists)

  • From: Stefan Haustein <stefan.haustein@t...>
  • To: Michael Rys <mrys@m...>
  • Date: Sat, 12 Feb 2000 17:49:30 +0100

wbxml schema
Michael Rys wrote:
> 
> In addition, I would like to point out that in Object Data Models (including
> the later releases of ODMG), there is a difference between structural type
> lattices (classes in C++, aka type inheritance) and semantical collection
> hierarchies (collection of objects that satisfy certain conditions that are
> either necessary and sufficient or necessary, aka as class subsumption). A
> common condition on such a semantical collection is, that all members are of
> the same base type (the so called member type). This is exactly how you can
> interpret the distinction between type (structural description) and element
> (semantical role).

The point in OOP is class subsumption, not structural 
derivation. You cannot reuse the structure without class 
subsumption. Why is that different in XML schema? I do
not see the reason. If you are used to OOP (many people are) 
the XML schema specs are confusing. It is possible to add
everything you want without violationg basic OOP principles, 
and without forcing people to learn yet another 
paradigm. For example, in JAVA, you have interfaces for 
the semantical roles without structure, but you do not need 
to use interfaces in your own class hierarchies if you think 
you do not need them. 

Best regards

Stefan Haustein

-- 
SAX-based access to WBXML and WML: http://www.trantor.de/wbxml
XML pull parser: http://www.trantor.de/xml

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.