W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Re: xml schema Second Edition-regarding substitution group

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 23 Mar 2004 10:21:12 +0000
To: gayathri veerarajan <gaytri_v@yahoo.co.in>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b8yhr3luv.fsf@erasmus.inf.ed.ac.uk>

gayathri veerarajan <gaytri_v@yahoo.co.in> writes:

> I just read the Xml Schema Second Edition .In the section of
> substitution group it has been said that both the head element and
> the substitutable elements must be declared global.

This is not a change.

> If the substitutable element happens to appear in the content model
> of a complexType definition then while deriving a new complex type
> by restriction,this element could not be restricted (by its type) if
> it is declared globally.  hence there should be a possibility to
> declare the substitutable element locally also.  any comments
> regarding this.

You can reference a global declaration at any point, so there is no
bar to the kind of derivation you describe.

 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: ht@inf.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]
Received on Tuesday, 23 March 2004 05:22:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC