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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Best Practice - beyond schema

[ Lists Home | Date Index | Thread Index ]

"Anderson, John" <John@Barbadosoft.com> writes:


> Restriction is reuse by copy, not reuse by inheritance.
> Maybe I'm wrong about this, and the entire CT definition doesn't have to be
> duplicated in the restriction, but I've tried to get clarification of this
> in the past without much success, and the XSD primer and any experts I've
> heard talk about it say this is the case.

Yes, but good style therefore suggests using a named model group for
the unchanged parts, in which the schema processor will do the copying 
for you.

> PS: TANSTAAFL is too long an acronym to parse. It sounds like the name of a
> South African province.

There ain't no such thing as a free lunch -- for its use in computer
context see "The Moon is a Harsh Mistress", Robert Heinlein.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]


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

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