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

Re: Schema concepts

  • From: "Bill la Forge" <b.laforge@j...>
  • To: "XML-Dev Mailing list" <xml-dev@x...>, "THOMAS PASSIN" <tpassin@i...>
  • Date: Sun, 20 Feb 2000 23:24:16 -0500

face schema
> And then there is the question of the distinction between "class" and
> "type".  This is very important to some people, and unimportant to others.

This is close to something I've been pondering. And yes, this topic is
close to my biases, so you probably can't take everything I say at
face value. (Not that anyone would. :-)

In OOP, specialized classes derive from a common class. Often, the
common class has some capability and the derived classes deal with
a particular use.

But if you generate classes from schema (((and lets ignore type for a
moment))), then the classes are particular to a use. And inheritance
is used to attach methods (capability). So things seem to be upside down.

Now, lets say we have XML type tied to a class, somehow, and we
have attached our methods by some means. Now an element can
reflect a use of that capability. In fact, by defining fixed values in the
schema, we can configure the common capability for a particular
usage without having to create any additional code. This feels like we've
got things in the right order.

Frankly, if we aren't talking about implementation, I suspect type has
no meaning. If type is more than syntatic sugar, then it seems that it
must be a way of addressing some underlying semantic that is common
to various elements, where the elements reflect usage.

Bill


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html
***************************************************************************

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.