OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Inheritance/defaulting of attributes

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Prescod <papresco@technologist.com>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 07 Oct 1997 23:53:54 -0400

Tim Bray wrote:
> Documents are different.  To start with, it's far from clear to me
> that the term "inheritance," standing by itself, has a useful
> semantic in the context of documents.

I agree. Inheritance in OOP only had meaning after it was defined.
Still, if we are talking about "element type inheritance" I think the
obvious meaning would be that element sub-types would "inherit"
"properties" (attributes and content model) from super-types.
> This has a practical consequence.  We should, in future, struggle
> for greater precision; for example, however it is clear that
> however LOCATOR attributes depend on those in the parent EXTENDED
> linking element, it ain't inheritance in the O-O style. -Tim

Actually, in OOP that is called "acquisition". It is evolving a language
and understanding of its own. See:

Environmental Acquisition - A New Inheritance Mechanism


So we are not in completely uncharted waters although there will
certainly be some differences.

 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS