Lists Home |
Date Index |
W3C XML Schema v.1 does not provide for redefinition-in-place of
simple types by extension, as it were.
It only provides for redefinition-in-place by restriction.
It follows that the only way to achieve redefinition-in-place of
codelists is to initially define the codelist type as an unconstrained
NMTOKEN, and redefine _that_ by restriction at deployment time.
That then would allow local extension by changing the redefinition.
In other words, published schema uses synonym for NMTOKEN as
codelisttype, and then redefines that restricting it to the desired
enumeration in a wrapper schema, which is what people actually use.
Those needing a larger code list use a different wrapper schema which
redefines using their larger list.
In haste, hope this helps as a sketch,
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: email@example.com
[mail really from me _always_ has this .sig -- mail without it is forged spam]