Lists Home |
Date 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
> 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: firstname.lastname@example.org
[mail really from me _always_ has this .sig -- mail without it is forged spam]