Inheritance/defaulting of attributes

Paul Prescod papresco at
Fri Oct 10 15:56:33 BST 1997

akirkpatrick at wrote:
> Re the question below from Rick: as I understood Paul, if an element
> inherited a content model, it could define a more restrictive model for
> itself but still had to be valid according to the parent model (see
> below).

That's close, but not quite correct. According to my terminology, why
you've described is subtyping. If you *inherit* a content model then you
get that content model -- unchanged. We could invent straightforward
mechanisms to allow you to inherit content model parts but I'm not sure
yet if it is worth the extra syntax. Especially if we were to move to
structured attributes. Then today's complex content models could be
broken up into small components and the benefits of inheriting content
model parts would be reduced.
 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list