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

Re: semantics in schema (xsd)


xsd subclassing
Also, marital status has a habit of changing.  It is commonly asserted that
marriage is life-changing and divorce is messy.  Imagine how much moreso if
the future wife had to change her class in order to become a wife and then
possibly a former wife.  And again when she spoke of her past days as a wife
or future wife.

In many applications, it would probably be better to model a sequence of
marital status objects associated with an individual.

Jeff

----- Original Message ----- 
From: "David Megginson" <dmeggin@a...>
To: "XML Developers List" <xml-dev@l...>
Sent: Friday, February 27, 2004 6:12 AM
Subject: Re:  semantics in schema (xsd)


> Irene Polikoff wrote:
>
> > Yes, modeling wife as a subclass of female may not be the right thing to
> > do. Another option in either RDF or OWL is for wife or husband to be
> > modeled as a property of male/female. It could then be said (using, for
> > example, domain - range restrictions of RDF) that wife's must be females
> > and husband's must be males.
>
> That's a lesson we've learned the hard way in the Object-Oriented
> programming world over the past decade or two.  Deep semantic subclassing
is
> almost always a bad idea -- it makes programs hard to maintain and update,
> and I'll be that it does the same thing to RDF-based taxonomies.
>
> As far as I've seen, most object-oriented programmers have moved from
heavy
> subclassing to light subclassing with more aggregation.  I wonder what


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.