W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Substitution Group Wording in Structures

From: Jeff Rafter <jeffrafter@definedweb.com>
Date: Wed, 6 Jun 2001 22:59:07 -0700
Message-ID: <00c201c0ef16$f7544d30$f181fea9@lazarus>
To: <xmlschema-dev@w3.org>
"All such members must have type definitions which are either the same as
the head's type definition or restrictions or extensions of it"

and

"An empty {substitution group exclusions} allows a declaration to be
nominated as the {substitution group affiliation} of other element
declarations having the same {type definition} or types derived therefrom.
The explicit values of {substitution group exclusions} rule out element
declarations having types which are extensions or restrictions respectively
of {type definition}. If both values are specified, then the declaration may
not be nominated as the {substitution group affiliation} of any other
declaration."

In the second section it seems that even if both values are specified
elements of the same type as the head should be allowed as the substitution
group affiliation.  Am I reading something wrong here.  Is this just a
strict rule (specifying both extension/restriction = specifying all
extension/restriction/same) for simplicity?

Thanks,
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting
Received on Thursday, 7 June 2001 01:59:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT