W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2000

Meaning of block="substitution"?

From: Roger L. Costello <costello@mitre.org>
Date: Sat, 02 Dec 2000 08:23:32 -0500
Message-ID: <3A28F7D4.8924D054@mitre.org>
To: xmlschema-dev@w3.org
Hi Folks,

This question is with respect to block="substitution".

Example.  Consider this head element declaration:

<element name="subway" type="string" block="substitution"/>

Does the block="substitution" mean that it is invalid to even declare a
substitutionGroup element, such as:

<element name="train" substitutionGroup="a:subway" type="string"/>

Or, does it simply mean that in an instance document <subway> cannot be
substituted by train?  That is, does it mean that it is valid to declare
substitutionGroup elements but it is invalid to use them in instance

Received on Saturday, 2 December 2000 08:25:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:48 UTC