|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Best Practice - beyond schema
"Anderson, John" <John@B...> writes:
<snip/>
> 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.
ht
--
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@c...
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








